Skip to content

Commit

Permalink
Merge pull request #50 from holaplex/mpw/fix-authz-plugin-no-vars
Browse files Browse the repository at this point in the history
allow graphql queries with args instead of variables
  • Loading branch information
mpwsh authored Mar 27, 2023
2 parents 478c644 + 3e04ea8 commit e1336b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/hub-gateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type: application
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)

version: "0.9.1"
version: "0.9.2"

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/hub-gateway/plugins/authz-helper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ local function build_graphql_data(conf, ctx)
local input = json.decode(core.request.get_body())
return {
query = input['query'],
variables = input['variables'],
variables = input['variables'] or {},
operation = ctx.var.graphql_operation,

}
Expand Down

0 comments on commit e1336b5

Please sign in to comment.