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:
Charles Bochet
2024-08-19 19:19:01 +02:00
committed by GitHub
parent db54469c8a
commit 12a657ce29
2 changed files with 2 additions and 4 deletions

View File

@ -46,9 +46,7 @@ export class MessagingMessageListFetchCronJob {
'messageChannel',
);
const messageChannels = await messageChannelRepository.find({
select: ['id'],
});
const messageChannels = await messageChannelRepository.find();
for (const messageChannel of messageChannels) {
if (