Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Revolyssup committed Sep 18, 2024
1 parent 5793e98 commit 2422020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apisix/plugins/hmac-auth.lua
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ local function retrieve_hmac_fields(ctx)
return nil, "missing Authorization header"
end

if not core.string.has_prefix(auth_string,"Signature") then
if not core.string.has_prefix(auth_string, "Signature") then
return nil, "Authorization header does not start with 'Signature'"
end

Expand Down

0 comments on commit 2422020

Please sign in to comment.