From eb2674fb1e25ca4281da561efea4956a1aa07665 Mon Sep 17 00:00:00 2001 From: simone-amadio-acn Date: Wed, 15 Nov 2023 12:22:04 +0100 Subject: [PATCH] fix: passing entity for queue --- controller/queueManagerController.ts | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/controller/queueManagerController.ts b/controller/queueManagerController.ts index 8bd4ad8..611609b 100644 --- a/controller/queueManagerController.ts +++ b/controller/queueManagerController.ts @@ -78,7 +78,7 @@ const manageEntitiesInErrorJobs = async () => { continue; } - returnValues.push(entity.id); + returnValues.push(entity); } return returnValues; diff --git a/package-lock.json b/package-lock.json index 25f710b..3c5d998 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "crawler-handler", - "version": "2.2.11", + "version": "2.2.12", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "crawler-handler", - "version": "2.2.11", + "version": "2.2.12", "license": "BSD-3-Clause", "dependencies": { "@types/sequelize": "^4.28.13", diff --git a/package.json b/package.json index 3f0c634..cebf807 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "crawler-handler", - "version": "2.2.11", + "version": "2.2.12", "description": "Handler per il validatore di comuni e scuole", "main": "index.js", "type": "module",