mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 21:47:02 +00:00
feat(core/database): implement server model
This commit is contained in:
@@ -75,7 +75,7 @@ impl AbstractUsers for MongoDb {
|
||||
None,
|
||||
)
|
||||
.await
|
||||
.map_err(|_| create_database_error!("find", "user"))?
|
||||
.map_err(|_| create_database_error!("find", "users"))?
|
||||
.filter_map(|s| async {
|
||||
if cfg!(debug_assertions) {
|
||||
Some(s.unwrap())
|
||||
|
||||
Reference in New Issue
Block a user