From 0de543ab73267f90b592b0cd1239836f1a0d57a3 Mon Sep 17 00:00:00 2001 From: bjwswang Date: Tue, 9 May 2023 15:04:30 +0800 Subject: [PATCH] fix: wrong bank balance query url in cosmos faucet openapi Signed-off-by: bjwswang --- ignite/pkg/cosmosfaucet/openapi/openapi.yml.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ignite/pkg/cosmosfaucet/openapi/openapi.yml.tmpl b/ignite/pkg/cosmosfaucet/openapi/openapi.yml.tmpl index bb81778930..384c2b6609 100644 --- a/ignite/pkg/cosmosfaucet/openapi/openapi.yml.tmpl +++ b/ignite/pkg/cosmosfaucet/openapi/openapi.yml.tmpl @@ -19,7 +19,7 @@ paths: parameters: - in: "body" name: "body" - description: "Send coins request object\n\nAfter making a sample execution by the 'Try it out' button in the right corner, visit the following link to see the difference in sample account's balance: {{ .APIAddress }}/bank/balances/cosmos1uzv4v9g9xln2qx2vtqhz99yxum33calja5vruz" + description: "Send coins request object\n\nAfter making a sample execution by the 'Try it out' button in the right corner, visit the following link to see the difference in sample account's balance: {{ .APIAddress }}/cosmos/bank/v1beta1/balances/cosmos1uzv4v9g9xln2qx2vtqhz99yxum33calja5vruz" required: true schema: $ref: "#/definitions/SendRequest" @@ -29,7 +29,7 @@ paths: "500": description: "Internal error" "200": - description: "All coins are successfully sent\n\nAfter making a sample execution, visit the following link to see the difference in sample account's balance: {{ .APIAddress }}/bank/balances/cosmos1uzv4v9g9xln2qx2vtqhz99yxum33calja5vruz" + description: "All coins are successfully sent\n\nAfter making a sample execution, visit the following link to see the difference in sample account's balance: {{ .APIAddress }}/cosmos/bank/v1beta1/balances/cosmos1uzv4v9g9xln2qx2vtqhz99yxum33calja5vruz" schema: $ref: "#/definitions/SendResponse"