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": {
|
"delete": {
|
||||||
"operationId": "ShiftsController_remove",
|
"operationId": "ShiftsController_remove",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ export class ShiftsController {
|
||||||
return this.shiftsCommandService.upsertShifts(email_param, action, payload);
|
return this.shiftsCommandService.upsertShifts(email_param, action, payload);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Delete(':email/:date')
|
@Delete('delete/:email/:date')
|
||||||
async remove(
|
async remove(
|
||||||
@Param('email') email: string,
|
@Param('email') email: string,
|
||||||
@Param('date') date: string,
|
@Param('date') date: string,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user