add and use new event types (#5482)

* add additional event_types

* use correct event_type when leaving an org

* use correct event type when deleting a user

* also correctly log auth requests

* add correct membership info to event log
This commit is contained in:
Stefan Melmuk
2025-01-28 11:25:53 +01:00
committed by GitHub
parent c0ebe0d982
commit a3dccee243
5 changed files with 48 additions and 6 deletions

View File

@@ -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,