Skip to content

Commit

Permalink
patching tcr function
Browse files Browse the repository at this point in the history
  • Loading branch information
pellicceama committed Nov 3, 2022
1 parent cd8ea67 commit 8efc397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/tcrs/map-tcrs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export async function checkIfMapInMapsTcr(map: AssetMap): Promise<TcrCheckResult
// TODO;
const url = 'https://console.map3.xyz/api/kleros/map'

const response = await axios.get(url + '/kleros-map3-map?from=' + map.from + '&to=' + map.to);
const response = await axios.get(url + '/kleros-map3-map?from=' + map.fromAddress + '&to=' + map.toAddress);

return {
inTcr: response.data.status === 'Registered',
Expand Down

0 comments on commit 8efc397

Please sign in to comment.