Skip to content

Commit

Permalink
Merge pull request #113 from fireblocks/fix-link-token
Browse files Browse the repository at this point in the history
Fix endpoint /v1/tokenization/tokens/${assetId}/link
  • Loading branch information
yarinvak authored May 22, 2023
2 parents 8c2fa3f + 5a3a48a commit fb03fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fireblocks_sdk/sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def get_linked_token(self, asset_id: str):
return self._get_request(f"/v1/tokenization/tokens/{asset_id}")

def link_token(self, asset_id: str):
return self._put_request(f"/v1/tokenization/tokens/{asset_id}", {})
return self._put_request(f"/v1/tokenization/tokens/{asset_id}/link", {})

def unlink_token(self, asset_id: str):
return self._delete_request(f"/v1/tokenization/tokens/{asset_id}")
Expand Down

0 comments on commit fb03fb2

Please sign in to comment.