mirror of
https://github.com/trufflesecurity/xsshunter
synced 2024-11-24 05:13:04 +00:00
initializing user
This commit is contained in:
parent
0d9ec3b589
commit
d8cfb8bd95
1 changed files with 3 additions and 0 deletions
3
api.js
3
api.js
|
@ -370,12 +370,15 @@ async function set_up_api_server(app) {
|
|||
|
||||
let return_payloads = [];
|
||||
for(let payload of payload_fires.rows){
|
||||
console.log(payload);
|
||||
let secrets = await Secrets.findAndCountAll({
|
||||
where: {
|
||||
payload_id: payload.id
|
||||
}
|
||||
});
|
||||
console.log(secrets);
|
||||
payload.secrets = secrets.rows;
|
||||
console.log(payload);
|
||||
return_payloads.push(payload);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue