Skip to content

Commit

Permalink
fix: allow query for ibc class by rest api
Browse files Browse the repository at this point in the history
  • Loading branch information
taramakage committed Sep 15, 2023
1 parent 6d945c2 commit a386893
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 87 deletions.
69 changes: 35 additions & 34 deletions api/irismod/nft/query.pulsar.go

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

98 changes: 49 additions & 49 deletions modules/nft/types/query.pb.go

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

4 changes: 2 additions & 2 deletions modules/nft/types/query.pb.gw.go

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

4 changes: 2 additions & 2 deletions proto/irismod/nft/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ service Query {

// Collection queries the NFTs of the specified denom
rpc Collection(QueryCollectionRequest) returns (QueryCollectionResponse) {
option (google.api.http).get = "/irismod/nft/collections/{denom_id}";
option (google.api.http).get = "/irismod/nft/collections/{denom_id=**}";
}

// Denom queries the definition of a given denom
rpc Denom(QueryDenomRequest) returns (QueryDenomResponse) {
option (google.api.http).get = "/irismod/nft/denoms/{denom_id}";
option (google.api.http).get = "/irismod/nft/denoms/{denom_id=**}";
}

// Denoms queries all the denoms
Expand Down

0 comments on commit a386893

Please sign in to comment.