Skip to content

Commit 9a56ba0

Browse files
authored
Merge pull request #65 from kleros/fix/template-and-mappings
fix: update mappings
2 parents b3bb688 + 3466614 commit 9a56ba0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/deploy/00-escrow.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const disputeTemplate = `{
4848
const mapping = `[
4949
{
5050
"type": "graphql",
51-
"endpoint": "https://gateway-arbitrum.network.thegraph.com/api/{{graphApiKey}}/subgraphs/id/3aZxYcZpZL5BuVhuUupqVrCV8VeNyZEvjmPXibyPHDFQ",
51+
"endpoint": "https://gateway-arbitrum.network.thegraph.com/api/{{{graphApiKey}}}/subgraphs/id/3aZxYcZpZL5BuVhuUupqVrCV8VeNyZEvjmPXibyPHDFQ",
5252
"query": "query GetTransaction($transactionId: ID!) { escrow(id: $transactionId) { transactionUri buyer seller amount token deadline } }",
5353
"variables": {
5454
"transactionId": "{{externalDisputeID}}"
@@ -58,7 +58,7 @@ const mapping = `[
5858
},
5959
{
6060
"type": "fetch/ipfs/json",
61-
"ipfsUri": "{{transactionUri}}",
61+
"ipfsUri": "{{{transactionUri}}}",
6262
"seek": ["title", "description", "extraDescriptionUri"],
6363
"populate": ["escrowTitle", "deliverableText", "extraDescriptionUri"]
6464
}

0 commit comments

Comments
 (0)