Skip to content

Commit

Permalink
Added missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
makaroni4 committed Dec 9, 2023
1 parent 2f69672 commit dc6bd1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/verify-email-submission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const verifyEmailSubmission = async ({
}) => {
if (!apiKey) {
alert("Please, set Open AI API key")
return
}

const openai = new OpenAI({
Expand Down

0 comments on commit dc6bd1e

Please sign in to comment.