From 363f1b96223c1782f9499e87a239929e2316390c Mon Sep 17 00:00:00 2001 From: Mihovil Ilakovac Date: Mon, 28 Oct 2024 12:59:12 +0100 Subject: [PATCH] Formatting --- .../data/Generator/templates/sdk/wasp/server/auth/email/utils.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/waspc/data/Generator/templates/sdk/wasp/server/auth/email/utils.ts b/waspc/data/Generator/templates/sdk/wasp/server/auth/email/utils.ts index db22bbccc5..ccce2f9fa2 100644 --- a/waspc/data/Generator/templates/sdk/wasp/server/auth/email/utils.ts +++ b/waspc/data/Generator/templates/sdk/wasp/server/auth/email/utils.ts @@ -65,7 +65,6 @@ async function sendEmailAndSaveMetadata( const providerId = createProviderId("email", email); const authIdentity = await findAuthIdentity(providerId); - if (!authIdentity) { throw new Error(`User with email: ${email} not found.`); }