diff --git a/src/common/api/hive-engine.ts b/src/common/api/hive-engine.ts index 859ecda0fc5..fede73d58aa 100644 --- a/src/common/api/hive-engine.ts +++ b/src/common/api/hive-engine.ts @@ -60,7 +60,7 @@ export const getTokenBalances = (account: string): Promise => { return axios .post(apiBase(engine.API), data, { - headers: { "Content-type": "application/json" } + headers: { "Content-type": "application/json", "Accept-Encoding": "*" } }) .then((r) => r.data.result) .catch((e) => { @@ -84,7 +84,7 @@ const getTokens = (tokens: string[]): Promise => { return axios .post(apiBase(engine.API), data, { - headers: { "Content-type": "application/json" } + headers: { "Content-type": "application/json", "Accept-Encoding": "*" } }) .then((r) => r.data.result) .catch((e) => { @@ -171,7 +171,7 @@ export const getMetrics: any = async (symbol?: any, account?: any) => { // return result; return axios .post(apiBase(engine.API), data, { - headers: { "Content-type": "application/json" } + headers: { "Content-type": "application/json", "Accept-Encoding": "*" } }) .then((r) => r.data.result) .catch((e) => {