Merge pull request #1346 from projectdiscovery/bugfix-template-load-typo

Fixing typo in variable name while validating template payloads
dev
Sandeep Singh 2021-12-09 11:52:52 +05:30 committed by GitHub
commit 22ce4e65bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}