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

//await db.connect();

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

//await db.clean();

Expand Down

0 comments on commit c267bf7

Please sign in to comment.