diff --git a/src/electron-main/api/endpoints-builders/database/export/service.ts b/src/electron-main/api/endpoints-builders/database/export/service.ts index 7a90648ed..129f9be51 100644 --- a/src/electron-main/api/endpoints-builders/database/export/service.ts +++ b/src/electron-main/api/endpoints-builders/database/export/service.ts @@ -81,7 +81,7 @@ function formatAttachment( throw new Error( [ "Invalid attachments content items array length ", - `(expected: ${String(attachments.length)}; actual: ${String(attachmentsContent?.length)})`, + `(expected: ${String(attachments.length)}; actual: ${String(attachmentsContent.length)})`, ].join(""), ); }