forked from rDrama/rDrama
>= 2 instead of >= 1
parent
2511054947
commit
a33bbc8fc2
|
@ -125,7 +125,7 @@ def speak(data, v):
|
||||||
|
|
||||||
admin_ids = [x[0] for x in g.db.query(User.id).filter(
|
admin_ids = [x[0] for x in g.db.query(User.id).filter(
|
||||||
User.id != v.id,
|
User.id != v.id,
|
||||||
User.admin_level >= 1,
|
User.admin_level >= 2,
|
||||||
).all()]
|
).all()]
|
||||||
|
|
||||||
push_notif(admin_ids, title, notifbody, url)
|
push_notif(admin_ids, title, notifbody, url)
|
||||||
|
|
Loading…
Reference in New Issue