Fix cache flush in messaging-channel-sync-status.service (#6024)

Fix cache flush in messaging-channel-sync-status.service
This commit is contained in:
bosiraphael
2024-06-27 09:58:37 +02:00
committed by GitHub
parent 03b00c49d5
commit 97822533db

View File

@ -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}`,
);