Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into desktop-app

desktop-app
Tzahi12345 2 years ago
commit 26de55fe86

@ -2035,7 +2035,7 @@ app.post('/api/changeRolePermissions', optionalJwt, async (req, res) => {
// notifications
app.post('/api/getNotifications', optionalJwt, async (req, res) => {
const uuid = req.user.uid;
const uuid = req.isAuthenticated() ? req.user.uid : null;
const notifications = await db_api.getRecords('notifications', {user_uid: uuid});

Loading…
Cancel
Save