fix: actually transfer group ownership

This commit is contained in:
Paul Makles
2022-09-01 09:45:17 +01:00
parent 345e4d5f13
commit e7f6433d77
2 changed files with 1 additions and 2 deletions

View File

@@ -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

View File

@@ -1,5 +1,3 @@
use crate::Result;
mod admin {
pub mod migrations;
}