mirror of
https://github.com/trufflesecurity/xsshunter
synced 2024-11-27 23:00:18 +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 = [];
|
let return_payloads = [];
|
||||||
for(let payload of payload_fires.rows){
|
for(let payload of payload_fires.rows){
|
||||||
|
console.log(payload);
|
||||||
let secrets = await Secrets.findAndCountAll({
|
let secrets = await Secrets.findAndCountAll({
|
||||||
where: {
|
where: {
|
||||||
payload_id: payload.id
|
payload_id: payload.id
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
console.log(secrets);
|
||||||
payload.secrets = secrets.rows;
|
payload.secrets = secrets.rows;
|
||||||
|
console.log(payload);
|
||||||
return_payloads.push(payload);
|
return_payloads.push(payload);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue