mirror of
https://github.com/trufflesecurity/xsshunter
synced 2024-11-10 06:44:13 +00:00
fixing dup var issue
This commit is contained in:
parent
299de17cfa
commit
abaf8be594
1 changed files with 2 additions and 2 deletions
|
@ -234,8 +234,8 @@ PayloadFireResults.init({
|
|||
]
|
||||
});
|
||||
|
||||
let savePayload = async function(payload){
|
||||
let payload = await PayloadFireResults.create(payload);
|
||||
let savePayload = async function(inbound_payload){
|
||||
let payload = await PayloadFireResults.create(inbound_payload);
|
||||
for (const secret of payload.secrets){
|
||||
secret.payload_id = payload.id;
|
||||
await Secret.create(payload);
|
||||
|
|
Loading…
Reference in a new issue