Commit 75a6aa64 by sujata

taxwire listing

1 parent e2047cd0
...@@ -5,15 +5,12 @@ import qs from "qs"; ...@@ -5,15 +5,12 @@ import qs from "qs";
export const fetchTaxwireList = createAsyncThunk( export const fetchTaxwireList = createAsyncThunk(
"TaxwireListSlice/fetchTaxwireList", "TaxwireListSlice/fetchTaxwireList",
async () => { async () => {
const query = { const query = {
populate: { populate: { Image: { populate: "*" } },
Image: { populate: "*" }, pagination: { page: 1, pageSize: 1000 },
}, sort: ["createdAt:desc"],
pagination: {
page: 1,
pageSize: 1000,
},
}; };
const queryString = qs.stringify(query, { const queryString = qs.stringify(query, {
encodeValuesOnly: true, encodeValuesOnly: true,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!