mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-10-04 11:50:09 +00:00
13 lines
276 B
TypeScript
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,
|
|
},
|
|
});
|
|
}
|