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(
|
if let Ok(mut cursor) = Session::find(
|
||||||
&get_db(),
|
&get_db(),
|
||||||
doc! {
|
doc! {
|
||||||
"_id": {
|
"user_id": {
|
||||||
"$in": recipients
|
"$in": recipients
|
||||||
},
|
},
|
||||||
"subscription": {
|
"subscription": {
|
||||||
|
|||||||
Reference in New Issue
Block a user