5507 modify the partial sync cron to work with the new statuses (#5512)
Closes #5507
This commit is contained in:
@ -2,17 +2,14 @@ import { Module } from '@nestjs/common';
|
||||
|
||||
import { ObjectMetadataRepositoryModule } from 'src/engine/object-metadata-repository/object-metadata-repository.module';
|
||||
import { ConnectedAccountWorkspaceEntity } from 'src/modules/connected-account/standard-objects/connected-account.workspace-entity';
|
||||
import { GmailFetchMessagesFromCacheCronCommand } from 'src/modules/messaging/crons/commands/gmail-fetch-messages-from-cache.cron.command';
|
||||
import { GmailPartialSyncCronCommand } from 'src/modules/messaging/crons/commands/gmail-partial-sync.cron.command';
|
||||
import { GmailMessagesImportCronCommand } from 'src/modules/messaging/crons/commands/gmail-messages-import.cron.command';
|
||||
import { GmailMessageListFetchCronCommand } from 'src/modules/messaging/crons/commands/gmail-message-list-fetch.cron.command';
|
||||
@Module({
|
||||
imports: [
|
||||
ObjectMetadataRepositoryModule.forFeature([
|
||||
ConnectedAccountWorkspaceEntity,
|
||||
]),
|
||||
],
|
||||
providers: [
|
||||
GmailPartialSyncCronCommand,
|
||||
GmailFetchMessagesFromCacheCronCommand,
|
||||
],
|
||||
providers: [GmailMessageListFetchCronCommand, GmailMessagesImportCronCommand],
|
||||
})
|
||||
export class MessagingCronCommandsModule {}
|
||||
|
||||
Reference in New Issue
Block a user