notificationAPI.js 273 Bytes
Newer Older
dungtnguyen's avatar
dungtnguyen committed
1 2 3 4 5 6 7 8 9 10
import axiosClient from '../network/axios';

const notificationAPI = {
  requestGetNotification: ({filter, page, pageSize}) =>
    axiosClient.get(
      `notifications?Filters=${filter}&Sorts=&Page=${page}&PageSize=${pageSize}`,
    ),
};

export default notificationAPI;