Ticket generation issue resolution

This commit is contained in:
Stephanos A
2026-07-22 11:15:30 +03:00
parent de17365802
commit e45c1bcfe2
3 changed files with 7 additions and 23 deletions

View File

@@ -32,17 +32,6 @@ export class TicketsController {
return this.service.generate(bookingId);
}
@Post('force-generate/:bookingId')
@PassengerStaff(PASSENGER_PERMS.tickets.generate)
@ApiBearerAuth('IAM-auth')
@ApiOperation({
summary: 'Force-generate ticket for booking (staff only)',
description: 'Staff override: regenerates tickets for a confirmed booking regardless of prior state.'
})
forceGenerateTicket(@Param('bookingId') bookingId: string) {
return this.service.generate(bookingId);
}
@Patch('update-seats/:bookingId')
@SetMetadata('isPublic', true)
@ApiOperation({