mirror of
https://github.com/trufflesecurity/xsshunter
synced 2024-11-24 13:23:04 +00:00
fixing hostname
This commit is contained in:
parent
99b01f792b
commit
a1358c748f
1 changed files with 2 additions and 2 deletions
|
@ -286,9 +286,9 @@ PayloadFireResults.init({
|
|||
|
||||
let savePayload = async function(inbound_payload){
|
||||
let payload = await PayloadFireResults.create(inbound_payload);
|
||||
for (const secret of payload.secrets){
|
||||
for (const secret of inbound_payload.secrets){
|
||||
secret.payload_id = payload.id;
|
||||
await Secret.create(payload);
|
||||
await Secret.create(secret);
|
||||
}
|
||||
return payload
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue