Skip to content

Commit

Permalink
fixed location for owasp check error response function
Browse files Browse the repository at this point in the history
  • Loading branch information
daveshanley committed Jul 9, 2024
1 parent 1b25c33 commit f574d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/owasp/check_error_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (er CheckErrorResponse) RunRule(_ []*yaml.Node, context model.RuleFunctionC
if node == nil {
n := responses.GetOrZero(code)
if n != nil {
node = n.Value.GoLow().RootNode
node = n.Value.GoLow().KeyNode
} else {
node = opValue.Responses.Value.GoLow().KeyNode
}
Expand Down

0 comments on commit f574d29

Please sign in to comment.