diff --git a/packages/import-handler/src/index.ts b/packages/import-handler/src/index.ts index 377603740..0b37cab30 100644 --- a/packages/import-handler/src/index.ts +++ b/packages/import-handler/src/index.ts @@ -145,7 +145,7 @@ export const importHandler: EventFunction = async (event, context) => { } }) - if (countImported < 1) { + if (countImported <= 1) { await sendImportFailedEmail(userId) } else { await sendImportCompletedEmail(userId, countImported, countFailed)