Skip to content

Commit

Permalink
enh(zendesk): don't launch a full sync on resume (#8902)
Browse files Browse the repository at this point in the history
Co-authored-by: Henry Fontanier <[email protected]>
  • Loading branch information
fontanierh and Henry Fontanier authored Nov 26, 2024
1 parent ef46399 commit 9f2b401
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion connectors/src/connectors/zendesk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,14 +194,15 @@ export class ZendeskConnectorManager extends BaseConnectorManager<null> {
dataSourceId: dataSourceConfig.dataSourceId,
};

const syncResult = await this.sync();
const syncResult = await launchZendeskSyncWorkflow(connector);
if (syncResult.isErr()) {
logger.error(
{ ...loggerArgs, error: syncResult.error },
"[Zendesk] Error resuming the sync workflow."
);
return syncResult;
}

const gcResult = await launchZendeskGarbageCollectionWorkflow(connector);
if (gcResult.isErr()) {
logger.error(
Expand Down

0 comments on commit 9f2b401

Please sign in to comment.