Renamed lib

This commit is contained in:
Luis Alvarez
2020-10-03 16:24:12 -05:00
parent c9f540cbd0
commit 604a7b86c9
2 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
import { CommerceAPIFetchOptions } from 'lib/commerce/api'
import { getConfig } from '..'
export default async function fetchAPI<Q, V = any>(
export default async function fetchGraphqlApi<Q, V = any>(
query: string,
{ variables, preview }: CommerceAPIFetchOptions<V> = {}
): Promise<Q> {