fix: rename retried-wrapped fetch to make caching work again
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user