Replace ObjectRecord<MessageChannelWorkspaceEntity> with MessageChannelWorkspaceEntity (#6059)

Replace ObjectRecord<MessageChannelWorkspaceEntity> with
MessageChannelWorkspaceEntity
This commit is contained in:
bosiraphael
2024-06-27 14:35:25 +02:00
committed by GitHub
parent 46f0840c99
commit 845fcb65ce

View File

@ -172,7 +172,7 @@ export class MessagingErrorHandlingService {
private async handleFailedPrecondition( private async handleFailedPrecondition(
error: GmailError, error: GmailError,
syncStep: SyncStep, syncStep: SyncStep,
messageChannel: ObjectRecord<MessageChannelWorkspaceEntity>, messageChannel: MessageChannelWorkspaceEntity,
workspaceId: string, workspaceId: string,
): Promise<void> { ): Promise<void> {
await this.messagingTelemetryService.track({ await this.messagingTelemetryService.track({
@ -243,7 +243,7 @@ export class MessagingErrorHandlingService {
private async handleThrottle( private async handleThrottle(
syncStep: SyncStep, syncStep: SyncStep,
messageChannel: ObjectRecord<MessageChannelWorkspaceEntity>, messageChannel: MessageChannelWorkspaceEntity,
workspaceId: string, workspaceId: string,
): Promise<void> { ): Promise<void> {
if ( if (
@ -307,7 +307,7 @@ export class MessagingErrorHandlingService {
private async handleUnknownError( private async handleUnknownError(
error: GmailError, error: GmailError,
syncStep: SyncStep, syncStep: SyncStep,
messageChannel: ObjectRecord<MessageChannelWorkspaceEntity>, messageChannel: MessageChannelWorkspaceEntity,
workspaceId: string, workspaceId: string,
): Promise<void> { ): Promise<void> {
await this.messagingTelemetryService.track({ await this.messagingTelemetryService.track({