backend: delete user instead of license
This commit is contained in:
parent
a2180678c0
commit
16d3b8d5f8
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ impl UserController {
|
|||
return Err(ErrorUnauthorized("Invalid Permissions"));
|
||||
}
|
||||
let db = &state.db;
|
||||
entity::license::Entity::delete_by_id(id)
|
||||
entity::user::Entity::delete_by_id(id)
|
||||
.exec(db)
|
||||
.await
|
||||
.map_err(ErrorInternalServerError)?;
|
||||
|
|
Loading…
Reference in a new issue