chore: commit the things that are to be commited

This commit is contained in:
Paul Makles
2022-02-11 23:33:38 +00:00
parent 28db08ba88
commit 50d9f50c8f
9 changed files with 46 additions and 24 deletions

View File

@@ -12,6 +12,8 @@ pub async fn req(db: &Db, user: User, target: Ref, role_id: String) -> Result<Em
return Err(Error::NotFound);
}
// ! FIXME: check perms against role
db.delete_role(&server.id, &role_id)
.await
.map(|_| EmptyResponse)