Browse Source
use correct event_type when leaving an org
pull/5482/head
Stefan Melmuk
4 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/core/organizations.rs
|
|
@ -251,7 +251,7 @@ async fn leave_organization(org_id: OrganizationId, headers: Headers, mut conn: |
|
|
|
} |
|
|
|
|
|
|
|
log_event( |
|
|
|
EventType::OrganizationUserRemoved as i32, |
|
|
|
EventType::OrganizationUserLeft as i32, |
|
|
|
&member.uuid, |
|
|
|
&org_id, |
|
|
|
&headers.user.uuid, |
|
|
|