From 50585d9b9378f551588d840ff4fcdf9f9c97a513 Mon Sep 17 00:00:00 2001 From: Toan Nguyen Date: Sun, 17 May 2020 15:25:45 +0700 Subject: [PATCH] chore: fix module import error --- src/http-client.ts | 2 +- src/o-auth-client.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'