import { SendRequest } from '../components/Global/ApiRequest'; const getAllNotification = async (queryParams) => { const response = await SendRequest({ method: 'get', prefix: `notification?${queryParams.toString()}`, }); return response.data; }; const getNotificationById = async (id) => { const response = await SendRequest({ method: 'get', prefix: `notification/${id}`, }); return response.data; }; const getNotificationDetail = async (id) => { const response = await SendRequest({ method: 'get', prefix: `notification/${id}`, }); return response.data; }; export { getAllNotification, getNotificationById, getNotificationDetail };