Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mpwsh committed Jul 28, 2023
1 parent 6e65fdb commit 2976d7b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions charts/hub-gateway/plugins/authz.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ local core = require("apisix.core")
local http = require("resty.http")
local helper = require("apisix.plugins.authz.helper")
local json = require("apisix.core.json")
local type = type


local schema = {
type = "object",
Expand Down Expand Up @@ -124,7 +122,7 @@ function _M.access(conf, ctx)
end

local req_id = core.request.header(ctx, "X-Request-Id")
reason = json.encode({
local reason = json.encode({
code = status_code,
message = "Unauthorized",
request_id = req_id
Expand Down

0 comments on commit 2976d7b

Please sign in to comment.