diff --git a/src/main/java/com/ffii/tsms/modules/timesheet/service/LeaveService.kt b/src/main/java/com/ffii/tsms/modules/timesheet/service/LeaveService.kt index 7b01cf7..99100a9 100644 --- a/src/main/java/com/ffii/tsms/modules/timesheet/service/LeaveService.kt +++ b/src/main/java/com/ffii/tsms/modules/timesheet/service/LeaveService.kt @@ -89,9 +89,9 @@ open class LeaveService( } open fun deleteMemberLeaveEntry(staffId: Long, entryId: Long): Map> { - val currentStaff = staffsService.currentStaff() ?: throw BadRequestException() +// val currentStaff = staffsService.currentStaff() ?: throw BadRequestException() // Make sure current staff is a team lead - teamService.getMyTeamForStaff(currentStaff) ?: throw BadRequestException() +// teamService.getMyTeamForStaff(currentStaff) ?: throw BadRequestException() val memberStaff = staffsService.getStaff(staffId)