forked from jmug/stoatchat
fix(push): use correct query to fetch sessions
This commit is contained in:
1 parent
839d7d0d9a
commit
92c7f023b1
1 file changed
+1
-1
@@ -30,7 +30,7 @@ pub async fn run() {
|
||||
if let Ok(mut cursor) = Session::find(
|
||||
&get_db(),
|
||||
doc! {
|
||||
"_id": {
|
||||
"user_id": {
|
||||
"$in": recipients
|
||||
},
|
||||
"subscription": {
|
||||
|
||||
Reference in new issue
Block a user