diff --git a/config/deno-kv.ts b/config/deno-kv.ts index f5f510a..9e26d09 100644 --- a/config/deno-kv.ts +++ b/config/deno-kv.ts @@ -452,7 +452,7 @@ export async function listenQueue(kv: Deno.Kv) { try { const property = await client_1.queryObject( - `SELECT * FROM Property WHERE ai_generated_description IS NULL ORDER BY created_at DESC LIMIT 10` + `SELECT * FROM Property WHERE ai_generated_description IS NULL AND property_type_id = 1 ORDER BY created_at DESC LIMIT 10` ); if (property.rowCount && property.rowCount > 0) {