Skip to content

Commit

Permalink
Merge branch 'master' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
feruzm committed Oct 23, 2023
2 parents ad86910 + 6fcad96 commit 5805388
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/common/api/hive-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const getTokenBalances = (account: string): Promise<TokenBalance[]> => {

return axios
.post(apiBase(engine.API), data, {
headers: { "Content-type": "application/json", "User-Agent": "Ecency-apps 1.0" }
headers: { "Content-type": "application/json" }
})
.then((r) => r.data.result)
.catch((e) => {
Expand All @@ -84,7 +84,7 @@ const getTokens = (tokens: string[]): Promise<Token[]> => {

return axios
.post(apiBase(engine.API), data, {
headers: { "Content-type": "application/json", "User-Agent": "Ecency-apps 1.0" }
headers: { "Content-type": "application/json" }
})
.then((r) => r.data.result)
.catch((e) => {
Expand Down Expand Up @@ -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", "User-Agent": "Ecency-apps 1.0" }
headers: { "Content-type": "application/json" }
})
.then((r) => r.data.result)
.catch((e) => {
Expand Down

0 comments on commit 5805388

Please sign in to comment.