Skip to content

Commit eb78814

Browse files
waleedlatif1claude
andcommitted
fix(evernote): use correct RetryOptions property names
maxRetries/initialDelayMs instead of retries/backoff to match the RetryOptions interface from lib/knowledge/documents/utils. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 228afa4 commit eb78814

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/sim/connectors/evernote/evernote.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ export const evernoteConnector: ConnectorConfig = {
412412

413413
logger.info('Listing Evernote notes', { offset, maxNotes: NOTES_PER_PAGE })
414414

415-
const retryOptions = { retries: 3, backoff: 500 }
415+
const retryOptions = { maxRetries: 3, initialDelayMs: 500 }
416416
const result = await apiFindNotesMetadata(
417417
accessToken,
418418
offset,
@@ -458,7 +458,7 @@ export const evernoteConnector: ConnectorConfig = {
458458
syncContext?: Record<string, unknown>
459459
): Promise<ExternalDocument | null> => {
460460
try {
461-
const retryOptions = { retries: 3, backoff: 500 }
461+
const retryOptions = { maxRetries: 3, initialDelayMs: 500 }
462462
const note = await apiGetNote(accessToken, externalId, retryOptions)
463463
const plainText = htmlToPlainText(note.content)
464464
if (!plainText.trim()) return null

0 commit comments

Comments
 (0)