Skip to content

Commit

Permalink
auction(rpc): support grpc-web in the auction query service (#4351)
Browse files Browse the repository at this point in the history
## Describe your changes

This adds missing middleware to the auction query service

## Checklist before requesting a review

- [x] If this code contains consensus-breaking changes, I have added the
"consensus-breaking" label. Otherwise, I declare my belief that there
are not consensus-breaking changes, for the following reason:

  > query server change
  • Loading branch information
erwanor authored May 8, 2024
1 parent 0ece706 commit 519f0f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/core/app/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ pub fn router(
.add_service(we(StorageQueryServiceServer::new(StorageServer::new(
storage.clone(),
))))
.add_service(AuctionQueryServiceServer::new(AuctionServer::new(
.add_service(we(AuctionQueryServiceServer::new(AuctionServer::new(
storage.clone(),
)))
))))
.add_service(we(AppQueryServiceServer::new(AppQueryServer::new(
storage.clone(),
))))
Expand Down

0 comments on commit 519f0f0

Please sign in to comment.