small change updated

This commit is contained in:
2025-06-06 15:46:12 +05:30
parent d53c66de77
commit 9eed968b03
6 changed files with 28 additions and 67 deletions

View File

@@ -11,34 +11,10 @@ import {
const V1Line = express.Router();
V1Line.post(
"/lines",
tokenValidator,
NewLineController
);
V1Line.post(
"/points",
tokenValidator,
UpdateLineController
);
V1Line.patch(
"/layers/delete",
tokenValidator,
DeleteLayerController
);
V1Line.patch(
"/lines/delete",
tokenValidator,
DeleteLineController
);
V1Line.patch(
"/points/delete",
tokenValidator,
DeleteLinePointsController
);
V1Line.get(
"/lines/:projectId",
tokenValidator,
GetLinesController
);
V1Line.post("/lines", tokenValidator, NewLineController);
V1Line.post("/points", tokenValidator, UpdateLineController);
V1Line.patch("/layers/delete", tokenValidator, DeleteLayerController);
V1Line.patch("/lines/delete", tokenValidator, DeleteLineController);
V1Line.patch("/points/delete", tokenValidator, DeleteLinePointsController);
V1Line.get("/lines/:projectId", tokenValidator, GetLinesController);
export default V1Line;