diff --git a/packages/twenty-server/src/modules/messaging/common/services/messaging-channel-sync-status.service.ts b/packages/twenty-server/src/modules/messaging/common/services/messaging-channel-sync-status.service.ts index bf472695a..fce009b83 100644 --- a/packages/twenty-server/src/modules/messaging/common/services/messaging-channel-sync-status.service.ts +++ b/packages/twenty-server/src/modules/messaging/common/services/messaging-channel-sync-status.service.ts @@ -57,7 +57,7 @@ export class MessagingChannelSyncStatusService { messageChannelId: string, workspaceId: string, ) { - await this.cacheStorage.setPop( + await this.cacheStorage.del( `messages-to-import:${workspaceId}:gmail:${messageChannelId}`, ); @@ -126,7 +126,7 @@ export class MessagingChannelSyncStatusService { messageChannelId: string, workspaceId: string, ) { - await this.cacheStorage.setPop( + await this.cacheStorage.del( `messages-to-import:${workspaceId}:gmail:${messageChannelId}`, ); @@ -147,7 +147,7 @@ export class MessagingChannelSyncStatusService { messageChannelId: string, workspaceId: string, ) { - await this.cacheStorage.setPop( + await this.cacheStorage.del( `messages-to-import:${workspaceId}:gmail:${messageChannelId}`, );