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:
tanshu committed 2020-05-12 20:52:07 +05:30
1 parent de4d248de7
commit 9c9f0dfdd6
33 files changed
+373 -314

No files matched your search

+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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: