Skip to content

Commit

Permalink
fix: use correct token address to fetch redemption position
Browse files Browse the repository at this point in the history
  • Loading branch information
--global committed Apr 25, 2024
1 parent 8ee05bb commit 5c1eb97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/components/manage-vault.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const ManageVault = ({ match }) => {
const data = cvToJSON(serializedVault).value.value;

if (data['status'] !== 0) {
const positionUrl = `https://arkadiko-vaults-api-029bd7781bb7.herokuapp.com/api/position?address=${senderAddress}&token=${tokenInfo['address']}.${tokenInfo['ft']}`
const positionUrl = `https://arkadiko-vaults-api-029bd7781bb7.herokuapp.com/api/position?address=${senderAddress}&token=${tokenInfo['address']}.${tokenInfo['name']}`;
const positionResponse = await fetch(positionUrl, { credentials: 'omit' });
const positionData = await positionResponse.json();

Expand Down

0 comments on commit 5c1eb97

Please sign in to comment.