Skip to content

Commit

Permalink
chore: remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
corp-0 committed Mar 9, 2024
1 parent e69e593 commit 1ae3aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/(account)/resend-confirm-email/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const postResendConfirmationMail = async (_: ResendConfirmationMailReques
return {success: false, error: error};
}

throw new Error('Unknown error');
return {success: false, error: {error: 'An unexpected error happened', status: 500}};
}

} catch (e) {
Expand Down

0 comments on commit 1ae3aef

Please sign in to comment.