Files
nginx-proxy-manager/frontend/src/api/backend/getAuditLog.ts
Jamie Curnow ebd9148813 React
2025-09-03 14:02:14 +10:00

13 lines
276 B
TypeScript

import * as api from "./base";
import type { AuditLog } from "./models";
export async function getAuditLog(expand?: string[], params = {}): Promise<AuditLog[]> {
return await api.get({
url: "/audit-log",
params: {
expand: expand?.join(","),
...params,
},
});
}