Fix: Use channel_invites collection name instead of invites.
Was conflicting with invite-only rauth registrations.
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user