Audit log table and modal

This commit is contained in:
Jamie Curnow committed 2025-10-02 08:12:33 +10:00
1 parent 8ad95c5695
commit 429046f32e
24 files changed
+425 -12

No files matched your search

+3 -2
View File
@@ -1,9 +1,10 @@
import * as api from "./base";
import type { AuditLogExpansion } from "./getAuditLogs";
import type { AuditLog } from "./models";
export async function getAuditLog(expand?: string[], params = {}): Promise<AuditLog[]> {
export async function getAuditLog(id: number, expand?: AuditLogExpansion[], params = {}): Promise<AuditLog> {
return await api.get({
url: "/audit-log",
url: `/audit-log/${id}`,
params: {
expand: expand?.join(","),
...params,