mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 13:36:59 +00:00
Add fetch owned, public and specific bots for #8.
This commit is contained in:
@@ -214,7 +214,7 @@ impl User {
|
||||
},
|
||||
FindOptions::builder()
|
||||
.projection(
|
||||
doc! { "_id": 1, "username": 1, "avatar": 1, "badges": 1, "status": 1 },
|
||||
doc! { "_id": 1, "username": 1, "avatar": 1, "badges": 1, "status": 1, "flags": 1, "bot": 1 },
|
||||
)
|
||||
.build(),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user