mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-17 21:24:11 +00:00
push to sheet
This commit is contained in:
@@ -23,6 +23,7 @@ import {
|
||||
sheetAuthState,
|
||||
sheetClientFile,
|
||||
previewSheet,
|
||||
pushSheet,
|
||||
} from '../controllers/ontimeController.js';
|
||||
|
||||
import {
|
||||
@@ -103,4 +104,7 @@ router.get('/sheet-authstatus', sheetAuthState);
|
||||
router.get('/sheet-authurl', sheetAuthUrl);
|
||||
|
||||
// create route between controller and '/ontime/preview-sheet' endpoint
|
||||
router.post('/sheet-preview', validateSheetPreview, previewSheet);
|
||||
router.post('/sheet-preview', validateSheetPreview, previewSheet);
|
||||
|
||||
// create route between controller and '/ontime/preview-sheet' endpoint
|
||||
router.post('/sheet-push', pushSheet);
|
||||
Reference in New Issue
Block a user