Fix cache flush in messaging-channel-sync-status.service (#6024)
Fix cache flush in messaging-channel-sync-status.service
This commit is contained in:
@ -57,7 +57,7 @@ export class MessagingChannelSyncStatusService {
|
|||||||
messageChannelId: string,
|
messageChannelId: string,
|
||||||
workspaceId: string,
|
workspaceId: string,
|
||||||
) {
|
) {
|
||||||
await this.cacheStorage.setPop(
|
await this.cacheStorage.del(
|
||||||
`messages-to-import:${workspaceId}:gmail:${messageChannelId}`,
|
`messages-to-import:${workspaceId}:gmail:${messageChannelId}`,
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ export class MessagingChannelSyncStatusService {
|
|||||||
messageChannelId: string,
|
messageChannelId: string,
|
||||||
workspaceId: string,
|
workspaceId: string,
|
||||||
) {
|
) {
|
||||||
await this.cacheStorage.setPop(
|
await this.cacheStorage.del(
|
||||||
`messages-to-import:${workspaceId}:gmail:${messageChannelId}`,
|
`messages-to-import:${workspaceId}:gmail:${messageChannelId}`,
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -147,7 +147,7 @@ export class MessagingChannelSyncStatusService {
|
|||||||
messageChannelId: string,
|
messageChannelId: string,
|
||||||
workspaceId: string,
|
workspaceId: string,
|
||||||
) {
|
) {
|
||||||
await this.cacheStorage.setPop(
|
await this.cacheStorage.del(
|
||||||
`messages-to-import:${workspaceId}:gmail:${messageChannelId}`,
|
`messages-to-import:${workspaceId}:gmail:${messageChannelId}`,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user