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",