Skip to content

Commit

Permalink
addScansByProperty debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
azdak committed Dec 18, 2024
1 parent a916493 commit 074e727
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/addScansByProperty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ export const addScansByProperty = async ({ request, reply }) => {
variables: {
propertyId: propertyId,
},
})).rows?.[0];
urlsToScan.push(urls);
})).data?.urls;
if(urls) urlsToScan.push(urls);
}

await db.clean();
Expand Down

0 comments on commit 074e727

Please sign in to comment.