geofence model changes to include assignment property

This commit is contained in:
Shibi Chakkaravarthy
2026-06-16 06:07:29 +05:30
parent 3ae41a8cd5
commit 5e894627f5
3 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ const router = new Router();
router.post("/", authorize("assignment", "write"), createAssignmentHandler);
router.patch("/:id", authorize("assignment", "write"), updateAssignmentHandler);
router.patch("/:id", authorize("assignment", "read"), getAssignmentByIdHandler);
router.get("/:id", authorize("assignment", "read"), getAssignmentByIdHandler);
router.get(
"/user/:id",
authorize("assignment", "read"),