From 4360679fdce038f40f6d8b46f09d909f30958a21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uro=C5=A1=20Marolt?= Date: Mon, 10 Nov 2025 11:54:21 +0100 Subject: [PATCH] fix: dont use txservice after tx was commited already MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Uroš Marolt --- backend/src/services/integrationService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/services/integrationService.ts b/backend/src/services/integrationService.ts index d0410eb83e..029b7db81a 100644 --- a/backend/src/services/integrationService.ts +++ b/backend/src/services/integrationService.ts @@ -908,7 +908,7 @@ export default class IntegrationService { args: [{ integrationIds: [integration.id] }], }) - return await txService.findById(integrationId) + return await this.findById(integrationId) } catch (err) { this.options.log.error(err, 'Error while creating or updating GitHub integration!') if (!existingTransaction) {