Skip to content

Commit

Permalink
fix(config): Mark price_not_shown as processed in lamudi_raw_data
Browse files Browse the repository at this point in the history
  • Loading branch information
csulit committed Oct 31, 2024
1 parent f18c085 commit 3268f9f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/deno-kv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,11 @@ export async function listenQueue(kv: Deno.Kv) {
args: [rawProperty.full_url, rawProperty.raw_title],
text: `UPDATE listing SET price_not_shown = TRUE WHERE url = $1 OR title = $2`,
});

await transaction.queryObject({
args: [rawProperty.id],
text: `UPDATE lamudi_raw_data SET price_not_shown_is_process = TRUE WHERE id = $1`,
});
}

// try {
Expand Down

0 comments on commit 3268f9f

Please sign in to comment.