Skip to content

Commit

Permalink
Merge branch 'staging' of github.com:EqualifyEverything/equalify-api …
Browse files Browse the repository at this point in the history
…into staging
  • Loading branch information
heythisischris committed Aug 24, 2024
2 parents 2f86d3a + 4de2d9f commit c30d332
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/addScans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const addScans = async ({ request, reply }) => {
const scanResponse = await (await fetch(`https://scan.equalify.app/generate/${discoveryDict?.[property.discovery] ?? 'url'}`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ url: property.property_url })
body: JSON.stringify({ url: property.property_url, userId: jwtClaims.sub })
})).json();
// console.log(JSON.stringify({ scanResponse }));

Expand Down Expand Up @@ -80,4 +80,4 @@ export const addScans = async ({ request, reply }) => {
status: 'success',
message: 'Scans successfully queued',
};
}
}

0 comments on commit c30d332

Please sign in to comment.