fix: actually transfer group ownership
This commit is contained in:
1 parent
345e4d5f13
commit
e7f6433d77
2 files changed
+1
-2
No files matched your search
@@ -83,6 +83,7 @@ pub async fn req(
|
||||
}
|
||||
|
||||
// Transfer ownership
|
||||
partial.owner = Some(new_owner.to_string());
|
||||
let old_owner = std::mem::replace(owner, new_owner.to_string());
|
||||
|
||||
// Notify clients
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
use crate::Result;
|
||||
|
||||
mod admin {
|
||||
pub mod migrations;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user