mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-07 12:00:01 +03:00
Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into desktop-app
This commit is contained in:
@@ -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});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user