الملفات
back_end_oudelaa/oudelaa_dashboard/lib/api/notifications.ts
boutmoun123 8863f61d00
فشلت بعض الفحوصات
Deploy To Ghaymah / deploy (push) Has been cancelled
Add Oudelaa dashboard API integration
2026-05-25 20:36:52 +03:00

10 أسطر
388 B
TypeScript

import { apiEndpoints } from "@/lib/api/endpoints";
import { fetchWithAuth } from "@/lib/auth/client";
import type { NotificationsResponse } from "@/types/api";
export async function listPlatformNotifications(
params: Record<string, string | number | boolean | null | undefined> = {},
) {
return fetchWithAuth<NotificationsResponse>(apiEndpoints.notifications.superAdmin(params));
}