1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-12-25 13:08:50 +00:00

Did a TODO

This commit is contained in:
Pierre HUBERT 2022-03-12 08:55:58 +01:00
parent 14fa64a04b
commit 2bb6a48545

View File

@ -94,7 +94,7 @@ pub async fn delete_auth_key(r: &mut HttpRequestHandler) -> RequestResult {
let key_id = r.post_u64("keyID")?;
if admin_id != r.admin_id()? {
unimplemented!(); // TODO
r.check_admin_has_role(AdminRole::MANAGE_ADMINS)?;
}
for key in admin_account_key_helper::get_admin_keys(admin_id)? {