mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 13:36:59 +00:00
Servers: Create and delete invites. Create and fetch servers.
This commit is contained in:
@@ -38,7 +38,7 @@ impl Ref {
|
||||
operation: "find_one",
|
||||
with: &collection,
|
||||
})?
|
||||
.ok_or_else(|| Error::UnknownUser)?;
|
||||
.ok_or_else(|| Error::NotFound)?;
|
||||
|
||||
Ok(from_document::<T>(doc).map_err(|_| Error::DatabaseError {
|
||||
operation: "from_document",
|
||||
|
||||
Reference in New Issue
Block a user