Fix syncStageStartedAt not correctly set (#7436)

Fix syncStageStartedAt not correctly set

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Raphaël Bosi
2024-10-05 00:44:52 +02:00
committed by GitHub
parent d8c4af9279
commit 23e7958218
2 changed files with 1 additions and 1 deletions

View File

@@ -161,6 +161,7 @@ export class MessageChannelSyncStatusService {
await messageChannelRepository.update(messageChannelIds, {
syncStage: MessageChannelSyncStage.MESSAGES_IMPORT_ONGOING,
syncStageStartedAt: new Date().toISOString(),
});
}

View File

@@ -54,7 +54,6 @@ export class MessagingPartialMessageListFetchService {
},
{
throttleFailureCount: 0,
syncStageStartedAt: null,
},
);