Made old get function use new function

This commit is contained in:
Ajay Ramachandran
2020-04-07 02:03:02 -04:00
parent 3c9380c2a2
commit 4c9aa11b9a
3 changed files with 47 additions and 270 deletions

View File

@@ -43,7 +43,7 @@ app.get('/api/postVideoSponsorTimes', oldSubmitSponsorTimes);
app.post('/api/postVideoSponsorTimes', oldSubmitSponsorTimes);
//add the skip segments functions
app.get('/api/skipSegments', getSkipSegments);
app.get('/api/skipSegments', getSkipSegments.endpoint);
app.post('/api/skipSegments', postSkipSegments);
//voting endpoint