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 9b3a4cf commit c065b71
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 @@ -19,7 +19,7 @@ export const addScansByProperty = async ({ request, reply }) => {

//await db.connect();

const urls = (await graphql({
const urls = await (await graphql({
request,
query: `
query($property_id: uuid!){
Expand All @@ -31,9 +31,9 @@ export const addScansByProperty = async ({ request, reply }) => {
variables: {
property_id: request.body.propertyId,
},
}));
})).urls;

console.log(urls);
//console.log(urls);
//await db.clean();

return {
Expand Down

0 comments on commit c065b71

Please sign in to comment.