From 96e331b678f578b529708e32a0e9389b3b9d5430 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Wed, 20 Nov 2024 18:50:29 +0400 Subject: [PATCH] fix(audit-logs): actor / actor ID mismatch --- frontend/src/hooks/api/auditLogs/types.tsx | 2 +- frontend/src/views/Org/AuditLogsPage/components/LogsSection.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/hooks/api/auditLogs/types.tsx b/frontend/src/hooks/api/auditLogs/types.tsx index 567e1d0b20..5221b50339 100644 --- a/frontend/src/hooks/api/auditLogs/types.tsx +++ b/frontend/src/hooks/api/auditLogs/types.tsx @@ -9,7 +9,7 @@ export type TGetAuditLogsFilter = { eventMetadata?: Record; actorType?: ActorType; projectId?: string; - actorId?: string; // user ID format + actor?: string; // user ID format startDate?: Date; endDate?: Date; limit: number; diff --git a/frontend/src/views/Org/AuditLogsPage/components/LogsSection.tsx b/frontend/src/views/Org/AuditLogsPage/components/LogsSection.tsx index dc1fb03ef5..968841f3b0 100644 --- a/frontend/src/views/Org/AuditLogsPage/components/LogsSection.tsx +++ b/frontend/src/views/Org/AuditLogsPage/components/LogsSection.tsx @@ -98,7 +98,7 @@ export const LogsSection = ({ userAgentType, startDate, endDate, - actorId: actor + actor }} />