small change updated
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user