diff --git a/src/http-client.ts b/src/http-client.ts index 73e5b0693..6305d6175 100644 --- a/src/http-client.ts +++ b/src/http-client.ts @@ -1,4 +1,4 @@ -import fetch, { Headers } from 'cross-fetch' +import { fetch, Headers } from 'cross-fetch' import HttpStatus from 'http-status-codes' import { USER_AGENT, JSON_CONTENT_TYPE } from './constants' diff --git a/src/o-auth-client.ts b/src/o-auth-client.ts index 7ee81868c..13afc9077 100644 --- a/src/o-auth-client.ts +++ b/src/o-auth-client.ts @@ -1,6 +1,6 @@ import ClientOAuth2 from 'client-oauth2' import { Options } from 'client-oauth2' -import fetch, { Headers } from 'cross-fetch' +import { fetch, Headers } from 'cross-fetch' import { defaultsDeep } from 'lodash' import { USER_AGENT } from './constants' import { AmazonMarketplace } from '@scaleleap/amazon-marketplaces'