mediahub-fe/service/notifications/notifications.ts

7 lines
263 B
TypeScript
Raw Normal View History

2025-01-01 17:48:57 +00:00
import { httpGetInterceptor } from "../http-config/http-interceptor-service";
2024-12-26 11:29:22 +00:00
export async function getNotifications(page = 0, pageSize = 10) {
const url = `notification/list?enablePage=1&page=${page}&pageSize=${pageSize}`;
2025-01-01 17:48:57 +00:00
return httpGetInterceptor(url);
2024-12-26 11:29:22 +00:00
}