Skip to content

Commit

Permalink
Merge pull request #7 from EqualifyEverything/azdak-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
heythisischris authored Aug 23, 2024
2 parents 325ea49 + aff500e commit 4de2d9f
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 4de2d9f

Please sign in to comment.