mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-12-21 11:30:11 +00:00
14 lines
358 B
TypeScript
14 lines
358 B
TypeScript
import * as api from "./base";
|
|
import type { AuditLogExpansion } from "./expansions";
|
|
import type { AuditLog } from "./models";
|
|
|
|
export async function getAuditLog(id: number, expand?: AuditLogExpansion[], params = {}): Promise<AuditLog> {
|
|
return await api.get({
|
|
url: `/audit-log/${id}`,
|
|
params: {
|
|
expand: expand?.join(","),
|
|
...params,
|
|
},
|
|
});
|
|
}
|