forked from jmug/stoatchat
Servers: Fetch and edit members.
Permissions: Use bit representation for permissions.
This commit is contained in:
@@ -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! {
|
||||
|
||||
Reference in New Issue
Block a user