From 857355034f86c6911e41ce16d409da1e7535ae97 Mon Sep 17 00:00:00 2001 From: Benjie Gillam Date: Fri, 15 Nov 2024 13:18:41 +0000 Subject: [PATCH] Fix syntax --- src/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers.ts b/src/helpers.ts index 88f780c1..17b741a3 100644 --- a/src/helpers.ts +++ b/src/helpers.ts @@ -107,7 +107,7 @@ export function makeAddJobs( ` select * from ${escapedWorkerSchema}.add_jobs( array( - json_populate_recordset( + select json_populate_recordset( null::${escapedWorkerSchema}.job_spec, $1::json )