Patch messaging import crons not running (#6688)
In 0.23.1, we have introduced a regression by migrating to TwentyORM ; messageChannels were not considered as syncable anymore
This commit is contained in:
@ -46,8 +46,8 @@ export class MessagingMessageChannelSyncStatusMonitoringCronJob {
|
||||
for (const activeWorkspace of activeWorkspaces) {
|
||||
const messageChannelRepository =
|
||||
await this.twentyORMGlobalManager.getRepositoryForWorkspace<MessageChannelWorkspaceEntity>(
|
||||
'messageChannel',
|
||||
activeWorkspace.id,
|
||||
'messageChannel',
|
||||
);
|
||||
const messageChannels = await messageChannelRepository.find({
|
||||
select: ['id', 'syncStatus', 'connectedAccountId'],
|
||||
|
||||
Reference in New Issue
Block a user