fetch req conflict resolved

This commit is contained in:
2025-06-03 14:59:08 +05:30
7 changed files with 35 additions and 48 deletions

View File

@@ -11,16 +11,8 @@ import {
const v1Zone = express.Router();
v1Zone.post(
"/zones",
tokenValidator,
CreateZoneController
);
v1Zone.patch(
"/zones/delete",
tokenValidator,
DeleteZoneController
);
v1Zone.post("/zones", tokenValidator, CreateZoneController);
v1Zone.patch("/zones/delete", tokenValidator, DeleteZoneController);
v1Zone.get(
"/zones/visualization/:projectId",
@@ -38,9 +30,5 @@ v1Zone.get(
tokenValidator,
SingleZonePanelController
);
v1Zone.get(
"/zones/:projectId",
tokenValidator,
GetZoneController
);
v1Zone.get("/zones/:projectId", tokenValidator, GetZoneController);
export default v1Zone;