Fix: Use channel_invites collection name instead of invites.

Was conflicting with invite-only rauth registrations.
This commit is contained in:
Paul committed 2021-06-12 10:33:31 +01:00
1 parent 9be9b76035
commit 6b8158bf54
9 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ impl Ref {
}
pub async fn fetch_invite(&self) -> Result<Invite> {
self.fetch("invites").await
self.fetch("channel_invites").await
}
pub async fn fetch_member(&self, server: &str) -> Result<Member> {