1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-09-25 14:19:45 +00:00

Can delete group

This commit is contained in:
2021-01-20 19:20:28 +01:00
parent f031f7b4b3
commit e26d40183e
7 changed files with 76 additions and 6 deletions

View File

@@ -199,7 +199,7 @@ pub fn delete_account(r: &mut HttpRequestHandler) -> RequestResult {
r.forbidden("You shall not delete MY account (whoever you are, please note that hacking is bad !!!)".to_string())?;
}
account_helper::delete(r.user_id_ref()?);
account_helper::delete(r.user_id_ref()?)?;
r.success("Account deleted.")
}