From 94e769795af0840c6b65a7ebed1aa43a39d7b254 Mon Sep 17 00:00:00 2001 From: shancheas Date: Tue, 27 May 2025 13:26:41 +0700 Subject: [PATCH] fix: add version to booking api --- .../controllers/booking-authentication.controller.ts | 2 +- .../booking-online/order/infrastructure/item.controller.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/booking-online/authentication/infrastructure/controllers/booking-authentication.controller.ts b/src/modules/booking-online/authentication/infrastructure/controllers/booking-authentication.controller.ts index 6ae67c6..1d6b5f8 100644 --- a/src/modules/booking-online/authentication/infrastructure/controllers/booking-authentication.controller.ts +++ b/src/modules/booking-online/authentication/infrastructure/controllers/booking-authentication.controller.ts @@ -10,7 +10,7 @@ import { ApiTags } from '@nestjs/swagger'; @ApiTags('Booking Authentication') @Public() -@Controller('booking-authentication') +@Controller('v1/booking-authentication') export class BookingAuthenticationController { constructor( private readonly bookingAuthenticationService: VerificationService, diff --git a/src/modules/booking-online/order/infrastructure/item.controller.ts b/src/modules/booking-online/order/infrastructure/item.controller.ts index e6b8efe..7a70a07 100644 --- a/src/modules/booking-online/order/infrastructure/item.controller.ts +++ b/src/modules/booking-online/order/infrastructure/item.controller.ts @@ -9,7 +9,7 @@ import { IndexItemManager } from 'src/modules/item-related/item/domain/usecases/ import { FilterItemDto } from 'src/modules/item-related/item/infrastructure/dto/filter-item.dto'; @ApiTags('Booking Item') -@Controller('booking-item') +@Controller('v1/booking-item') @Public(true) export class ItemController { constructor(