Removed need for authentication to count views

pull/809/head
Tzahi12345 3 years ago
parent 6c8b7d0052
commit f20a31ed0f

@ -1092,7 +1092,7 @@ app.post('/api/disableSharing', optionalJwt, async function(req, res) {
});
});
app.post('/api/incrementViewCount', optionalJwt, async (req, res) => {
app.post('/api/incrementViewCount', async (req, res) => {
let file_uid = req.body.file_uid;
let sub_id = req.body.sub_id;
let uuid = req.body.uuid;

Loading…
Cancel
Save