From f39021d37357fd5c3e0e627efbde1ac62dcc74f4 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Sun, 12 May 2024 11:14:11 +0100 Subject: [PATCH] Chore: Make API note.source optional --- packages/lib/services/rest/routes/notes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lib/services/rest/routes/notes.ts b/packages/lib/services/rest/routes/notes.ts index ee785d68a..563a6a9ef 100644 --- a/packages/lib/services/rest/routes/notes.ts +++ b/packages/lib/services/rest/routes/notes.ts @@ -62,7 +62,7 @@ type RequestNote = { body_html: string; base_url?: string; convert_to: string; - source: string; + source?: string; // eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied anchor_names?: any[]; image_sizes?: object;