refactor: change import from '@framework' to relative imports

This commit is contained in:
Bolaji Ayodeji 2021-12-21 19:39:13 +01:00 committed by Alessandro Casazza
parent 04950c7eff
commit 8f341f9a64
No known key found for this signature in database
GPG Key ID: 3AF41B06C6495D3D
2 changed files with 5 additions and 1 deletions

View File

@ -1 +1,5 @@
COMMERCE_PROVIDER=commercelayer COMMERCE_PROVIDER=commercelayer
NEXT_PUBLIC_COMMERCELAYER_CLIENT_ID=
NEXT_PUBLIC_COMMERCELAYER_ENDPOINT=
NEXT_PUBLIC_COMMERCELAYER_MARKET_SCOPE=

View File

@ -1,5 +1,5 @@
import type { CheckoutEndpoint } from '.' import type { CheckoutEndpoint } from '.'
import getCredentials from '@framework/api/utils/getCredentials' import getCredentials from '../../utils/getCredentials'
import { Order } from '@commercelayer/js-sdk' import { Order } from '@commercelayer/js-sdk'
const checkout: CheckoutEndpoint['handlers']['checkout'] = async ({ const checkout: CheckoutEndpoint['handlers']['checkout'] = async ({