Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

style(frontend): reformat audit logs retention API call

Bernie Gandin7a228d8ac207
diff --git a/frontend/src/hooks/api/projects/queries.tsx b/frontend/src/hooks/api/projects/queries.tsx
index e38971423a..0cd378d117 100644
--- a/frontend/src/hooks/api/projects/queries.tsx
+++ b/frontend/src/hooks/api/projects/queries.tsx
@@ -273,12 +273,9 @@ export const useUpdateWorkspaceAuditLogsRetention = () => {
return useMutation<Project, object, UpdateAuditLogsRetentionDTO>({
mutationFn: async ({ projectId, auditLogsRetentionDays }) => {
- const { data } = await apiRequest.put(
- `/api/v1/projects/${projectId}/audit-logs-retention`,
- {
- auditLogsRetentionDays
- }
- );
+ const { data } = await apiRequest.put(`/api/v1/projects/${projectId}/audit-logs-retention`, {
+ auditLogsRetentionDays
+ });
return data.project;
},
onSuccess: () => {