pg-boss 11.0.0 → 11.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/plans.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-boss",
3
- "version": "11.0.0",
3
+ "version": "11.0.1",
4
4
  "description": "Queueing jobs in Postgres from Node.js like a boss",
5
5
  "main": "./src/index.js",
6
6
  "engines": {
package/src/plans.js CHANGED
@@ -715,7 +715,7 @@ function insertJobs (schema, { table, name, returnId = true }) {
715
715
  WHEN right("startAfter", 1) = 'Z' THEN CAST("startAfter" as timestamp with time zone)
716
716
  ELSE now() + CAST(COALESCE("startAfter",'0') as interval)
717
717
  END as start_after
718
- FROM json_to_recordset($1) as x (
718
+ FROM json_to_recordset($1::json) as x (
719
719
  id uuid,
720
720
  name text,
721
721
  priority integer,