Skip to content

Commit

Permalink
Merge pull request #367 from irisnet/dreamer/fix-mt-rest-alances
Browse files Browse the repository at this point in the history
fix: rest url conflict
  • Loading branch information
taramakage authored Jun 16, 2023
2 parents 3f7756f + 5e4d788 commit 9474b5c
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 52 deletions.
98 changes: 49 additions & 49 deletions modules/mt/types/query.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 24 additions & 2 deletions modules/mt/types/query.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto/irismod/mt/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ service Query {

// Balances queries the MT balances of a specified owner
rpc Balances(QueryBalancesRequest) returns (QueryBalancesResponse) {
option (google.api.http).get = "/irismod/mt/mts/{owner}/balances";
option (google.api.http).get = "/irismod/mt/mts/{owner}/{denom_id}/balances";
}
}

Expand Down

0 comments on commit 9474b5c

Please sign in to comment.