Compare commits

...

2 Commits

Author SHA1 Message Date
shancheas 94e769795a fix: add version to booking api 2025-05-27 13:26:41 +07:00
shancheas 968697ee17 feat: add check period to public url 2025-05-27 11:51:54 +07:00
3 changed files with 3 additions and 2 deletions

View File

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

View File

@ -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(

View File

@ -26,6 +26,7 @@ export class SeasonPeriodReadController {
return await this.orchestrator.index(params);
}
@Public(true)
@Get('current-period')
async currentPeriod(
@Query() params: FilterCurrentSeasonDto,