Add Oudelaa dashboard API integration
فشلت بعض الفحوصات
Deploy To Ghaymah / deploy (push) Has been cancelled
فشلت بعض الفحوصات
Deploy To Ghaymah / deploy (push) Has been cancelled
هذا الالتزام موجود في:
7
oudelaa_dashboard/lib/api/audit.ts
Normal file
7
oudelaa_dashboard/lib/api/audit.ts
Normal file
@@ -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));
|
||||
}
|
||||
المرجع في مشكلة جديدة
حظر مستخدم