Skip to content

Commit

Permalink
style(*): lint
Browse files Browse the repository at this point in the history
  • Loading branch information
windmgc committed Oct 23, 2023
1 parent 90c1869 commit c93e0bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/03-plugins/27-aws-lambda/99-access_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ for _, strategy in helpers.each_strategy() do
local authorization_header = body.headers.authorization
local second_aws_key = string.match(authorization_header, "Credential=(.+)/")

return not (first_aws_key == second_aws_key)
return first_aws_key ~= second_aws_key
end).ignore_exceptions(true).with_timeout(ttl_time * 2).is_truthy()
end)
end)
Expand Down

0 comments on commit c93e0bb

Please sign in to comment.