Fix: fontent api

This commit is contained in:
elforjani3
2020-10-17 18:12:54 +02:00
parent a7c280b405
commit 9bda188ca4
7 changed files with 37 additions and 37 deletions

View File

@@ -66,14 +66,14 @@ export const fetchCustomers = ({ query }) => {
.then((response) => {
dispatch({
type: t.CUSTOMER_SET,
customers: response.data.customers.results,
customers: response.data.customers,
});
dispatch({
type: t.CUSTOMERS_PAGE_SET,
customers: response.data.customers.results,
customers: response.data.customers,
customViewId: response.data.customers.customViewId,
paginationMeta: response.data.customers.pagination,
paginationMeta: response.data.pagination,
});
dispatch({
type: t.CUSTOMERS_TABLE_LOADING,