From 888766d3d9c7162cb2456fce2c5bf0be658df115 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Saint-Roch?= Date: Fri, 5 Jan 2024 13:34:36 +0100 Subject: [PATCH] Make linter h appy --- backend/src/database/repositories/memberRepository.ts | 9 +-------- .../premium/enrichment/memberEnrichmentService.ts | 3 ++- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/backend/src/database/repositories/memberRepository.ts b/backend/src/database/repositories/memberRepository.ts index d739f3f93a..ef015e999b 100644 --- a/backend/src/database/repositories/memberRepository.ts +++ b/backend/src/database/repositories/memberRepository.ts @@ -3452,14 +3452,7 @@ class MemberRepository { } static async createOrUpdateWorkExperience( - { - memberId, - organizationId, - source, - title = null, - dateStart = null, - dateEnd = null, - }, + { memberId, organizationId, source, title = null, dateStart = null, dateEnd = null }, options: IRepositoryOptions, ) { const seq = SequelizeRepository.getSequelize(options) diff --git a/backend/src/services/premium/enrichment/memberEnrichmentService.ts b/backend/src/services/premium/enrichment/memberEnrichmentService.ts index 4277b4632d..62f6e2a7b9 100644 --- a/backend/src/services/premium/enrichment/memberEnrichmentService.ts +++ b/backend/src/services/premium/enrichment/memberEnrichmentService.ts @@ -395,7 +395,8 @@ export default class MemberEnrichmentService extends LoggerBase { await this.options.temporal.workflow.start('memberUpdate', { taskQueue: 'profiles', workflowId: `${TemporalWorkflowId.MEMBER_UPDATE}/${this.options.currentTenant.id}/${result.id}`, - workflowIdReusePolicy: WorkflowIdReusePolicy.WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING, + workflowIdReusePolicy: + WorkflowIdReusePolicy.WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING, retry: { maximumAttempts: 10, },