mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-14 00:19:16 +01:00
fix: allow backend to delete scim users
This commit is contained in:
parent
52f7c27787
commit
20ef0fae39
@ -674,8 +674,6 @@ export default class UserAdminController extends Controller {
|
|||||||
const { user, params } = req;
|
const { user, params } = req;
|
||||||
const { id } = params;
|
const { id } = params;
|
||||||
|
|
||||||
await this.throwIfScimUser({ id });
|
|
||||||
|
|
||||||
await this.userService.deleteUser(+id, req.audit);
|
await this.userService.deleteUser(+id, req.audit);
|
||||||
res.status(200).send();
|
res.status(200).send();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user