mirror of https://github.com/daffainfo/nuclei.git
Merge pull request #1346 from projectdiscovery/bugfix-template-load-typo
Fixing typo in variable name while validating template payloadsdev
commit
22ce4e65bc
|
@ -37,7 +37,7 @@ func New(payloads map[string]interface{}, attackType AttackType, templatePath st
|
|||
}
|
||||
|
||||
generator := &PayloadGenerator{}
|
||||
if err := generator.validate(payloads, templatePath); err != nil {
|
||||
if err := generator.validate(payloadsFinal, templatePath); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue