Servers: Create and delete invites. Create and fetch servers.

This commit is contained in:
Paul committed 2021-06-05 22:41:47 +01:00
1 parent 681b2b8ab6
commit f9fbe54b17
16 files changed
+281 -57

No files matched your search

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