fix(shfits): small route fix

This commit is contained in:
Matthieu Haineault 2025-10-14 10:38:24 -04:00
parent 99e9f1f3bf
commit feeb19bbf0
2 changed files with 2 additions and 2 deletions

View File

@ -483,7 +483,7 @@
]
}
},
"/shifts/{email}/{date}": {
"/shifts/delete/{email}/{date}": {
"delete": {
"operationId": "ShiftsController_remove",
"parameters": [

View File

@ -28,7 +28,7 @@ export class ShiftsController {
return this.shiftsCommandService.upsertShifts(email_param, action, payload);
}
@Delete(':email/:date')
@Delete('delete/:email/:date')
async remove(
@Param('email') email: string,
@Param('date') date: string,