fix(shfits): small route fix
This commit is contained in:
parent
99e9f1f3bf
commit
feeb19bbf0
|
|
@ -483,7 +483,7 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/shifts/{email}/{date}": {
|
||||
"/shifts/delete/{email}/{date}": {
|
||||
"delete": {
|
||||
"operationId": "ShiftsController_remove",
|
||||
"parameters": [
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user