This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { apiEndpoints } from "@/lib/api/endpoints";
|
||||
import { fetchWithAuth } from "@/lib/auth/client";
|
||||
import type { AuditLogsResponse } from "@/types/api";
|
||||
|
||||
export async function listAuditLogs(params: Record<string, string | number | boolean | null | undefined> = {}) {
|
||||
return fetchWithAuth<AuditLogsResponse>(apiEndpoints.audit.logs(params));
|
||||
}
|
||||
Reference in New Issue
Block a user