mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-28 06:40:57 +00:00
Ticket generation issue resolution
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user