Skip to content

Commit

Permalink
Merge pull request #1275 from Giveth/fix/subgraph_transform_tokendist…
Browse files Browse the repository at this point in the history
…ro_info

Fixed transforming tokenDistro data
  • Loading branch information
aminlatifi authored Aug 2, 2022
2 parents f174014 + ca9aa71 commit b5a6e6d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/subgraph/subgraphDataTransform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ export const transformTokenDistro = (info: any = {}): ITokenDistro => {
const totalTokens = info?.totalTokens || '0';

return {
contractAddress:
info?.tokenDistroAddress || ethers.constants.AddressZero,
contractAddress: info?.id || ethers.constants.AddressZero,
initialAmount,
lockedAmount,
totalTokens,
Expand Down

1 comment on commit b5a6e6d

@vercel
Copy link

@vercel vercel bot commented on b5a6e6d Aug 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

giveth-dapps-v2 – ./

www.giveth.io
giveth-dapps-v2-givethio.vercel.app
giveth-dapps-v2-git-main-givethio.vercel.app
giveth.io

Please sign in to comment.