From 1ea935e18daff477c9c6a5426e143a512ca6c69b Mon Sep 17 00:00:00 2001 From: Igor Kotua <36304232+garrrikkotua@users.noreply.github.com> Date: Wed, 15 Nov 2023 15:47:17 +0300 Subject: [PATCH] Fix data-sink-worker when activity marked deleted (#1846) --- .../apps/data_sink_worker/src/repo/activity.data.ts | 1 + .../apps/data_sink_worker/src/repo/activity.repo.ts | 4 ++-- .../src/service/activity.service.ts | 13 ++++++++++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/services/apps/data_sink_worker/src/repo/activity.data.ts b/services/apps/data_sink_worker/src/repo/activity.data.ts index 927890871e..cd65dee2d5 100644 --- a/services/apps/data_sink_worker/src/repo/activity.data.ts +++ b/services/apps/data_sink_worker/src/repo/activity.data.ts @@ -22,6 +22,7 @@ export interface IDbActivity { url?: string sentiment: ISentimentAnalysisResult organizationId?: string + deletedAt?: string } export interface IDbActivityCreateData { diff --git a/services/apps/data_sink_worker/src/repo/activity.repo.ts b/services/apps/data_sink_worker/src/repo/activity.repo.ts index 86849f5ca7..9ce24f2be7 100644 --- a/services/apps/data_sink_worker/src/repo/activity.repo.ts +++ b/services/apps/data_sink_worker/src/repo/activity.repo.ts @@ -39,12 +39,12 @@ export default class ActivityRepository extends RepositoryBase