Renamed Service Charges to Incentives including account fixture and permission
replaced my custom ValidationErro with FastAPI HTTPException Fixed?: Attendance Employee Attendance
This commit is contained in:
1 parent
de4d248de7
commit
9c9f0dfdd6
33 files changed
+373
-314
No files matched your search
@@ -102,7 +102,7 @@ def delete(
|
||||
)
|
||||
else:
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
|
||||
status_code=status.HTTP_501_NOT_IMPLEMENTED,
|
||||
detail="Role deletion not implemented",
|
||||
)
|
||||
except Exception:
|
||||
|
||||
@@ -140,7 +140,7 @@ def delete(
|
||||
)
|
||||
else:
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
|
||||
status_code=status.HTTP_501_NOT_IMPLEMENTED,
|
||||
detail="User deletion not implemented",
|
||||
)
|
||||
except Exception:
|
||||
|
||||
Reference in new issue
Block a user