Add fetch owned, public and specific bots for #8.

This commit is contained in:
Paul committed 2021-08-12 13:40:03 +01:00
1 parent 9f749cfdf8
commit a71bfa908c
6 files changed
+131 -27

No files matched your search

+1 -1
View File
@@ -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(),
)