Skip to content

Commit

Permalink
Merge pull request #342 from arcana-network/shrinath/hotfix-make-chai…
Browse files Browse the repository at this point in the history
…n-apis-consistent

Use chain id for adding chain
  • Loading branch information
shrinathprabhu authored Feb 1, 2024
2 parents 83f16f1 + 79eccd3 commit 52672d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/gateway.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ function getChainLogo(

function addChain(appId: number, data: any, network: Network) {
return getGatewayInstance(network).post(
`${getEnvApi()}/chain/${appId}/${data.id}/`,
`${getEnvApi()}/chain/${appId}/${data.chain_id}/`,
data
)
}
Expand Down

0 comments on commit 52672d6

Please sign in to comment.