From 68d1fd9d852acf03a9a842bf63bafc33fad6c7b0 Mon Sep 17 00:00:00 2001 From: Batuhan Wilhelm Date: Thu, 4 Jan 2024 17:44:48 +0300 Subject: [PATCH] fix: use answers.userEmail as fallback --- src/saofile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/saofile.ts b/src/saofile.ts index b6e13f14..89380a67 100644 --- a/src/saofile.ts +++ b/src/saofile.ts @@ -188,7 +188,7 @@ const saoConfig: GeneratorConfig = { { method: "POST", body: JSON.stringify({ - email: emailPromptResult.userEmail, + email: emailPromptResult.userEmail || answers.userEmail, }), headers: { "Content-Type": "application/json" }, },