Skip to content

Commit 4503739

Browse files
authored
fix: dont use txservice after tx was commited already (#3586)
Signed-off-by: Uroš Marolt <uros@marolt.me>
1 parent 110436d commit 4503739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/services/integrationService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ export default class IntegrationService {
908908
args: [{ integrationIds: [integration.id] }],
909909
})
910910

911-
return await txService.findById(integrationId)
911+
return await this.findById(integrationId)
912912
} catch (err) {
913913
this.options.log.error(err, 'Error while creating or updating GitHub integration!')
914914
if (!existingTransaction) {

0 commit comments

Comments
 (0)