added stars and new calls

This commit is contained in:
Luke Berndt
2023-01-14 22:43:10 -05:00
parent 6e331ba901
commit ba15de8d30
5 changed files with 345 additions and 412 deletions

View File

@@ -178,7 +178,7 @@ app.get('/:shortName/calls/older', calls.get_older_calls);
app.get('/:shortName/calls/:time/older', calls.get_iphone_calls);
app.get('/:shortName/calls', calls.get_calls);
app.post('/:shortName/star/:id', calls.add_star);
app.post('/:shortName/removeStar/:id', calls.remove_star);
/*------ UPLOADS ---------- upload.single('call'), uploads.upload,*/
app.post('/:shortName/upload', upload.single('call'), uploads.upload, async function (req, res) {