Saleor was not in the providers list

This commit is contained in:
Bel Curcio
2021-06-14 18:00:24 -03:00
parent a17e0f8309
commit 55f3a432b8
4 changed files with 17 additions and 9 deletions

View File

@@ -4,7 +4,7 @@ import fetch from './fetch'
import { API_URL } from '../../const'
import { getError } from '../../utils/handle-fetch-response'
import { getCommerceApi } from '..'
import { getToken } from '@framework/utils'
import { getToken } from '../../utils/index'
const fetchGraphqlApi: GraphQLFetcher = async (query: string, { variables } = {}, fetchOptions) => {
const config = getCommerceApi().getConfig()