This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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));
|
||||
}
|
||||
Reference in New Issue
Block a user