fix: rename retried-wrapped fetch to make caching work again

This commit is contained in:
Simon Emanuelsson
2024-08-28 10:47:57 +02:00
parent 08529e6398
commit 93526ce693
41 changed files with 728 additions and 575 deletions

View File

@@ -14,7 +14,7 @@ const client = new GraphQLClient(env.CMS_URL, {
export async function edgeRequest<T>(
query: string | DocumentNode,
variables?: {},
next?: NextFetchRequestConfig
params?: RequestInit
): Promise<Data<T>> {
return _request(client, query, variables, next)
return _request(client, query, variables, params)
}