Servers: Fetch and edit members.

Permissions: Use bit representation for permissions.
This commit is contained in:
Paul committed 2021-06-06 14:57:55 +01:00
1 parent 0af4fa4be9
commit 1f1d9613e2
10 files changed
+256 -23

No files matched your search

+1 -1
View File
@@ -207,7 +207,7 @@ impl Server {
Ok(())
}
pub async fn fetch_members(id: &str) -> Result<Vec<String>> {
pub async fn fetch_member_ids(id: &str) -> Result<Vec<String>> {
Ok(get_collection("server_members")
.find(
doc! {