Skip to content

Commit

Permalink
Merge pull request #67 from holaplex/espi/fix-credit-balance-header-name
Browse files Browse the repository at this point in the history
Adjust Name of Credit Balance Header
  • Loading branch information
kespinola authored May 9, 2023
2 parents 2383ba5 + f67981a commit ac09de9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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.14.2"
version: "0.14.3"

# 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
4 changes: 2 additions & 2 deletions charts/hub-gateway/plugins/credits.lua
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ function _M.access(conf, ctx)
local balance = tostring(data.balance)

-- respond the credit balance to the user too
core.request.set_header(ctx, "X-Credits-Balance", balance)
core.response.set_header("X-Credits-Balance", balance)
core.request.set_header(ctx, "X-Credit-Balance", balance)
core.response.set_header("X-Credit-Balance", balance)
end

return _M

0 comments on commit ac09de9

Please sign in to comment.