Skip to content

The open alternative to Salesforce, designed for AI.

Fix post merge conflicts on messaging services

Charles Bochet8dd772aee200
diff --git a/packages/twenty-server/src/modules/messaging/common/standard-objects/message-channel-message-association.workspace-entity.ts b/packages/twenty-server/src/modules/messaging/common/standard-objects/message-channel-message-association.workspace-entity.ts
index 8dc83992788..162a48c8f2e 100644
--- a/packages/twenty-server/src/modules/messaging/common/standard-objects/message-channel-message-association.workspace-entity.ts
+++ b/packages/twenty-server/src/modules/messaging/common/standard-objects/message-channel-message-association.workspace-entity.ts
@@ -72,7 +72,7 @@ export class MessageChannelMessageAssociationWorkspaceEntity extends BaseWorkspa
color: 'blue',
},
],
- defaultValue: MessageDirection.INCOMING,
+ defaultValue: `'${MessageDirection.INCOMING}'`,
})
direction: MessageDirection;
diff --git a/packages/twenty-server/src/modules/messaging/message-import-manager/jobs/messaging-ongoing-stale.job.ts b/packages/twenty-server/src/modules/messaging/message-import-manager/jobs/messaging-ongoing-stale.job.ts
index a2d47cc97e1..20d23e71a57 100644
--- a/packages/twenty-server/src/modules/messaging/message-import-manager/jobs/messaging-ongoing-stale.job.ts
+++ b/packages/twenty-server/src/modules/messaging/message-import-manager/jobs/messaging-ongoing-stale.job.ts
@@ -55,7 +55,7 @@ export class MessagingOngoingStaleJob {
`Sync for message channel ${messageChannel.id} and workspace ${workspaceId} is stale. Setting sync stage to MESSAGES_IMPORT_PENDING`,
);
- await this.messagingChannelSyncStatusService.resetSyncStageStartedAt(
+ await this.messageChannelSyncStatusService.resetSyncStageStartedAt(
messageChannel.id,
);