Skip to content

Commit

Permalink
Fix data error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed May 4, 2023
1 parent 185ba93 commit e92f5ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/server/src/managers/Node/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export async function fetchDataStaked(address: string) {
}
`;

const data = await request(constants.DATA_GRAPH_URL, query);
const data: any = await request(constants.DATA_GRAPH_URL, query);

const value = data.erc20Balances.length ? Math.floor(+data.erc20Balances[0].value) : 0;

Expand Down

0 comments on commit e92f5ef

Please sign in to comment.