forked from jmug/stoatchat
fix(push): use correct query to fetch sessions
This commit is contained in:
@@ -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