From 434669ee18b45ce184488fa5f93cce914d5bfb4a Mon Sep 17 00:00:00 2001 From: casulit Date: Wed, 30 Oct 2024 08:53:55 +0800 Subject: [PATCH] refactor(config): Use client2 for queryObject in deno-kv update logic --- config/deno-kv.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/deno-kv.ts b/config/deno-kv.ts index f915329..b7ea1b2 100644 --- a/config/deno-kv.ts +++ b/config/deno-kv.ts @@ -578,7 +578,7 @@ export async function listenQueue(kv: Deno.Kv) { ); } - const updateResult = await transaction.queryObject({ + const updateResult = await client2.queryObject({ args: [rawProperty.id], text: ` UPDATE lamudi_raw_data