Skip to content

Commit

Permalink
fix: use answers.userEmail as fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
BatuhanW committed Jan 4, 2024
1 parent 4118cc7 commit 68d1fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/saofile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
},
Expand Down

0 comments on commit 68d1fd9

Please sign in to comment.