Fix damaged item push notification route to admins (Admin vs IsAdmin DB field typo) and add direct URL

This commit is contained in:
2026-04-19 14:48:48 +02:00
parent bb146059f3
commit 12d0ab06cf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -347,7 +347,7 @@ def send_push_to_all_admins(title, body, icon=None, url='/', reference=None):
# Get all admin users
admin_users = list(users_col.find(
{'IsAdmin': True},
{'Admin': True},
{'Username': 1}
))