mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-21 06:59:09 +00:00
remove duplicate routs
This commit is contained in:
@@ -53,18 +53,6 @@ router.patch('/db', validatePatchProjectFile, patchPartialProjectFile);
|
|||||||
// create route between controller and '/ontime/preview-spreadsheet' endpoint
|
// create route between controller and '/ontime/preview-spreadsheet' endpoint
|
||||||
router.post('/preview-spreadsheet', uploadFile, previewExcel);
|
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
|
// create route between controller and '/ontime/settings' endpoint
|
||||||
router.get('/settings', getSettings);
|
router.get('/settings', getSettings);
|
||||||
|
|
||||||
@@ -113,4 +101,7 @@ router.get('/sheet-authstatus', sheetAuthState);
|
|||||||
// create route between controller and '/ontime/sheet-authstatus' endpoint
|
// create route between controller and '/ontime/sheet-authstatus' endpoint
|
||||||
router.get('/sheet-authurl', sheetAuthUrl);
|
router.get('/sheet-authurl', sheetAuthUrl);
|
||||||
|
|
||||||
|
router.get('/sheet-authurl', previewSheet);
|
||||||
|
|
||||||
|
// create route between controller and '/ontime/preview-sheet' endpoint
|
||||||
|
router.get('/sheet-preview', previewSheet);
|
||||||
Reference in New Issue
Block a user