Replace ObjectRecord<MessageChannelWorkspaceEntity> with MessageChannelWorkspaceEntity (#6059)
Replace ObjectRecord<MessageChannelWorkspaceEntity> with MessageChannelWorkspaceEntity
This commit is contained in:
@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user