Skip to content

Commit

Permalink
fix: use query string for entitlements method input (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnletey authored Nov 13, 2024
1 parent 17b4b99 commit 6ba20a2
Show file tree
Hide file tree
Showing 7 changed files with 118 additions and 142 deletions.
1 change: 1 addition & 0 deletions .changelog/v2.0.1/bug-fixes/12-entitlements-queries.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Switch entitlements method input to a query string. ([#13](https://github.com/noble-assets/halo/pull/13))
3 changes: 3 additions & 0 deletions .changelog/v2.0.1/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*Nov 13, 2024*

This is a non-consensus breaking patch to the `v2` release line.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# CHANGELOG

## v2.0.1

*Nov 13, 2024*

This is a non-consensus breaking patch to the `v2` release line.

### BUG FIXES

- Switch entitlements method input to a query string. ([#13](https://github.com/noble-assets/halo/pull/13))

## v2.0.0

*Nov 10, 2024*
Expand Down
83 changes: 41 additions & 42 deletions api/entitlements/v1/query.pulsar.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/halo/entitlements/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ service Query {

rpc PublicCapability(QueryPublicCapability) returns (QueryPublicCapabilityResponse) {
option (cosmos.query.v1.module_query_safe) = true;
option (google.api.http).get = "/halo/entitlements/v1/public_capability/{method}";
option (google.api.http).get = "/halo/entitlements/v1/public_capability";
}

rpc RoleCapability(QueryRoleCapability) returns (QueryRoleCapabilityResponse) {
option (cosmos.query.v1.module_query_safe) = true;
option (google.api.http).get = "/halo/entitlements/v1/role_capability/{method}";
option (google.api.http).get = "/halo/entitlements/v1/role_capability";
}

rpc UserCapability(QueryUserCapability) returns (QueryUserCapabilityResponse) {
Expand Down
71 changes: 35 additions & 36 deletions types/entitlements/query.pb.go

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

Loading

0 comments on commit 6ba20a2

Please sign in to comment.