Skip to content

Commit

Permalink
Update addScansByProperty.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
azdak committed Dec 18, 2024
1 parent c267bf7 commit 7c756ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/addScansByProperty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ export const addScansByProperty = async ({ request, reply }) => {
request,
query: `
query{
urls( where: { property_id: { _eq: $property_id } } ) {
urls( where: { property_id: { _eq: $propertyid } } ) {
urlId: id
url
}
}`,
variables: {
property_id: request.body.propertyId,
propertyid: request.body.propertyId,
},
})).data?.urls;
})).stringify();

//await db.clean();

Expand Down

0 comments on commit 7c756ec

Please sign in to comment.