remove duplicate routs

This commit is contained in:
arc-alex
2023-11-18 17:57:13 +01:00
parent 6b2b6dc6dd
commit 52a9c85dbc
+3 -12
View File
@@ -53,18 +53,6 @@ router.patch('/db', validatePatchProjectFile, patchPartialProjectFile);
// create route between controller and '/ontime/preview-spreadsheet' endpoint
router.post('/preview-spreadsheet', uploadFile, previewExcel);
// create route between controller and '/ontime/preview-sheet' endpoint
router.post('/preview-sheet', uploadFile, previewSheet);
// create route between controller and '/ontime/sheets-auth-client' endpoint
router.get('/sheets-auth-client', sheetClientFile);
// create route between controller and '/ontime/sheets-auth-url' endpoint
router.get('/sheets-auth-url', sheetAuthUrl);
// create route between controller and '/ontime/sheets-auth-state' endpoint
router.get('/sheets-auth-state', sheetAuthState);
// create route between controller and '/ontime/settings' endpoint
router.get('/settings', getSettings);
@@ -113,4 +101,7 @@ router.get('/sheet-authstatus', sheetAuthState);
// create route between controller and '/ontime/sheet-authstatus' endpoint
router.get('/sheet-authurl', sheetAuthUrl);
router.get('/sheet-authurl', previewSheet);
// create route between controller and '/ontime/preview-sheet' endpoint
router.get('/sheet-preview', previewSheet);