Browse Source
use correct event type when deleting a user
pull/5482/head
Stefan Melmuk
3 months ago
No known key found for this signature in database
GPG Key ID: 817020C608FE9C09
1 changed files with
1 additions and
1 deletions
-
src/api/admin.rs
|
|
@ -403,7 +403,7 @@ async fn delete_user(user_id: UserId, token: AdminToken, mut conn: DbConn) -> Em |
|
|
|
|
|
|
|
for membership in memberships { |
|
|
|
log_event( |
|
|
|
EventType::OrganizationUserRemoved as i32, |
|
|
|
EventType::OrganizationUserDeleted as i32, |
|
|
|
&membership.uuid, |
|
|
|
&membership.org_uuid, |
|
|
|
&ACTING_ADMIN_USER.into(), |
|
|
|