fix(shifts): added Promise to remove function of the shift controller

This commit is contained in:
Matthieu Haineault 2025-11-11 14:52:34 -05:00
parent 383a01639a
commit a8d53ab0aa

View File

@ -28,7 +28,7 @@ export class ShiftController {
}
@Delete(':shift_id')
remove(@Param('shift_id') shift_id: number ) {
remove(@Param('shift_id') shift_id: number ): Promise<Result<number, string>> {
return this.update_delete_service.deleteShift(shift_id);
}