Remove unused provider config (#459)

* Updated core types for commerce provider

* Updated bigcommerce provider

* Added util method for provider creation

* Removed unrequired code from saleor

* Updated shopify provider

* Updated providers and local setup

* Updated saleor setup

* Updated swell

* Updated vendure

* Updated swell-js usage

* Removed unrequired import from saleor
This commit is contained in:
Luis Alvarez D
2021-08-30 22:32:20 -05:00
committed by GitHub
parent 24dd291be2
commit a94f049f0a
19 changed files with 92 additions and 264 deletions

View File

@@ -1,7 +1,7 @@
import { swellConfig } from '../..'
import swell from '../../swell'
const fetchApi = async (query: string, method: string, variables: [] = []) => {
const { swell } = swellConfig
return swell[query][method](...variables)
}
export default fetchApi