From 3dbc72ff320182381968c1bd01153402ebad6d38 Mon Sep 17 00:00:00 2001 From: Jamal Soueidan Date: Fri, 1 Mar 2024 15:33:04 +0100 Subject: [PATCH] refactor(customer-booking.function.ts): rename http functions for consistency --- src/functions/customer-booking.function.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/functions/customer-booking.function.ts b/src/functions/customer-booking.function.ts index 2bf5d83f..5db83421 100644 --- a/src/functions/customer-booking.function.ts +++ b/src/functions/customer-booking.function.ts @@ -3,14 +3,14 @@ import "module-alias/register"; import { CustomerBookingControllerGetByGroup } from "./customer/controllers/booking/get-by-group"; import { CustomerBookingControllerRange } from "./customer/controllers/booking/range"; -app.http("customerOrderGetByGroupId", { +app.http("customerBookingGetByGroupId", { methods: ["GET"], authLevel: "anonymous", route: "customer/{customerId?}/bookings/{orderId?}/group/{groupId?}", handler: CustomerBookingControllerGetByGroup, }); -app.http("customerOrderRange", { +app.http("customerBookingRange", { methods: ["GET"], authLevel: "anonymous", route: "customer/{customerId?}/bookings/range",