Skip to content

Conversation

@notrichardpeng
Copy link

Description

Added function to send create account invite email to judges on the judging portal (plus whatever is previously on this branch?)

Testing plan

Send email to temp email through Postman and verify that the accept link works

@vercel
Copy link

vercel bot commented Apr 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2025 9:40pm
event-service-next ❌ Failed (Inspect) Apr 28, 2025 9:40pm
podium ❌ Failed (Inspect) Apr 28, 2025 9:40pm
pointr ❌ Failed (Inspect) Apr 28, 2025 9:40pm
recruitment ❌ Failed (Inspect) Apr 28, 2025 9:40pm
sso ❌ Failed (Inspect) Apr 28, 2025 9:40pm
www-2023 ❌ Failed (Inspect) Apr 28, 2025 9:40pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
interim ⬜️ Ignored (Inspect) Apr 28, 2025 9:40pm
ui-kit-2023-storybook ⬜️ Ignored (Inspect) Apr 28, 2025 9:40pm

judgeEmail
);

console.log(error);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Remove unnecessary console.log

console.log(error);

if (error) {
throw new Error('Failed to send invitation email');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: More detailed error message would be nice, e.g. including error message that Supbase gave in error object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants