Skip to content

Commit

Permalink
Revert "Update createPeer and createPeerByUrl mutations in postman"
Browse files Browse the repository at this point in the history
This reverts commit 1b53f92.
  • Loading branch information
mkurapov committed Sep 17, 2023
1 parent 1b53f92 commit 5073f3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions postman/collections/Interledger.json
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@
"mode": "graphql",
"graphql": {
"query": "mutation CreatePeer ($input: CreatePeerInput!) {\n createPeer (input: $input) {\n code\n message\n success\n peer {\n id\n name\n liquidity\n liquidityThreshold\n asset{\n id\n scale\n code\n withdrawalThreshold\n }\n }\n }\n}",
"variables": "{\n \"input\": {\n \"name\": \"Wallet1\",\n \"staticIlpAddress\": \"test.peer\",\n \"http\": {\n \"incoming\": {\"authTokens\": [\"test123abc\"]},\n \"outgoing\": {\"endpoint\": \"http://peer-backend:3002\", \"authToken\": \"test123abc\"}\n },\n \"assetId\": \"{{assetId}}\",\n \"maxPacketAmount\": 1000,\n \"liquidityThreshold\": 100000000,\n \"initialLiquidity\":1000000000\n }\n}"
"variables": "{\n \"input\": {\n \"name\": \"Wallet1\",\n \"staticIlpAddress\": \"test.peer\",\n \"http\": {\n \"incoming\": {\"authTokens\": [\"test123abc\"]},\n \"outgoing\": {\"endpoint\": \"http://peer-backend:3002\", \"authToken\": \"test123abc\"}\n },\n \"assetId\": \"{{assetId}}\",\n \"maxPacketAmount\": 1000,\n \"liquidityThreshold\": 100000000\n }\n}"
}
},
"url": {
Expand Down Expand Up @@ -312,7 +312,7 @@
"mode": "graphql",
"graphql": {
"query": "mutation CreatePeerByUrl ($input: CreatePeerByUrlInput!) {\n createPeerByUrl (input: $input) {\n code\n message\n success\n peer {\n id\n name\n asset {\n id\n scale\n code\n withdrawalThreshold\n }\n }\n }\n}",
"variables": "{\n \"input\": {\n \"peerUrl\": \"http://happy-life-bank-backend:3005\",\n \"assetId\": \"{{assetId}}\",\n \"initialLiquidity\":1000000000\n }\n}"
"variables": "{\n \"input\": {\n \"peerUrl\": \"http://happy-life-bank-backend:3005\",\n \"assetId\": \"{{assetId}}\"\n }\n}"
}
},
"url": {
Expand Down

0 comments on commit 5073f3d

Please sign in to comment.