Skip to content

Commit

Permalink
feat(config): Add project_name to Listing update in deno-kv
Browse files Browse the repository at this point in the history
  • Loading branch information
csulit committed Oct 30, 2024
1 parent 5a8bc85 commit 1f36008
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/deno-kv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,12 +369,13 @@ export async function listenQueue(kv: Deno.Kv) {
args: [
rawProperty.price,
rawProperty.price_formatted,
rawProperty.project_name,
listingByUrl.rows[0].id,
],
text: `
UPDATE Listing
SET price = $1, price_formatted = $2
WHERE id = $3
SET price = $1, price_formatted = $2, project_name = $3
WHERE id = $4
`,
});

Expand Down

0 comments on commit 1f36008

Please sign in to comment.