Skip to content

Commit

Permalink
fix: fix wrong api path (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobhjkim committed Mar 7, 2024
1 parent 97a0773 commit c6dd493
Show file tree
Hide file tree
Showing 5 changed files with 408 additions and 263 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,11 @@ proto-lint:

proto-swagger-gen:
@echo "Downloading Protobuf dependencies"
@go get github.com/cosmos/gogoproto
@make proto-download-deps
@echo "Generating Protobuf Swagger"
$(protoImage) sh ./scripts/protoc-swagger-gen.sh
@go mod tidy

proto-download-deps:
mkdir -p "$(THIRD_PARTY_DIR)/cosmos_tmp" && \
Expand Down
2 changes: 1 addition & 1 deletion proto/settlus/oracle/v1alpha1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ service Query {

// Parameters queries the parameters of the module.
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
option (google.api.http).get = "/settlus/v1alpha1/oracle/params";
option (google.api.http).get = "/settlus/oracle/v1alpha1/params";
}

// Queries a list of BlockData items for a given chainId.
Expand Down

0 comments on commit c6dd493

Please sign in to comment.