Removed need for authentication to count views

This commit is contained in:
Tzahi12345
2023-01-15 00:27:22 -05:00
parent 6c8b7d0052
commit f20a31ed0f

View File

@@ -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;