From d7bcfe871f509530e39490ada9759594c8e5194a Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Wed, 3 Sep 2025 08:00:04 +0200 Subject: [PATCH] Bugfix/fix number of attempts in queue jobs view of admin control panel (#5447) * Fix number of attempts * Update changelog --- CHANGELOG.md | 4 ++++ apps/api/src/app/admin/queue/queue.service.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f8d6492b..46c447792 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Upgraded `ngx-skeleton-loader` from version `11.2.1` to `11.3.0` - Upgraded `yahoo-finance2` from version `3.6.4` to `3.8.0` +### Fixed + +- Fixed the number of attempts in the queue jobs view of the admin control panel + ## 2.195.0 - 2025-08-29 ### Changed diff --git a/apps/api/src/app/admin/queue/queue.service.ts b/apps/api/src/app/admin/queue/queue.service.ts index b0058e81f..747c4d6fb 100644 --- a/apps/api/src/app/admin/queue/queue.service.ts +++ b/apps/api/src/app/admin/queue/queue.service.ts @@ -71,7 +71,7 @@ export class QueueService { .slice(0, limit) .map(async (job) => { return { - attemptsMade: job.attemptsMade + 1, + attemptsMade: job.attemptsMade, data: job.data, finishedOn: job.finishedOn, id: job.id,