pg-boss 10.3.1 → 10.3.2

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/manager.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-boss",
3
- "version": "10.3.1",
3
+ "version": "10.3.2",
4
4
  "description": "Queueing jobs in Postgres from Node.js like a boss",
5
5
  "main": "./src/index.js",
6
6
  "engines": {
package/src/manager.js CHANGED
@@ -521,7 +521,7 @@ class Manager extends EventEmitter {
521
521
  async retry (name, id, options = {}) {
522
522
  Attorney.assertQueueName(name)
523
523
  const db = options.db || this.db
524
- const ids = this.mapCompletionIdArg(id, 'resume')
524
+ const ids = this.mapCompletionIdArg(id, 'retry')
525
525
  const result = await db.executeSql(this.retryJobsCommand, [name, ids])
526
526
  return this.mapCommandResponse(ids, result)
527
527
  }