Unify API call with other collectioin pages
This commit is contained in:
parent
86656e1bff
commit
0257b99007
1 changed files with 2 additions and 1 deletions
|
|
@ -385,7 +385,8 @@ export const getServerSideProps = async ({ req, res, locale, query }: { req: Nex
|
|||
|
||||
// Fetch initial set of parties here
|
||||
const response = await api.endpoints.parties.getAll({
|
||||
params: { ...filters, ...{ headers: headers } },
|
||||
params: filters,
|
||||
...headers
|
||||
})
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Reference in a new issue