-
-
Notifications
You must be signed in to change notification settings - Fork 2
feat: claim by mail #172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: claim by mail #172
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
| </template> | ||
|
|
||
| <template v-if="reserved"> | ||
| <!-- TODO make successful reservation specific UI ? --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
??
| const query = getQuery(event); | ||
|
|
||
| const [rawData, err] = await $fetch<Reservation>( | ||
| `${RUNTIME_CONFIG.apiUrl}/poaps/${query.code}/reservation/${query.reservation}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
REST should be formed in plural for each entity /poaps/1/reservations/2
| .catch((r) => [null, r]); | ||
|
|
||
| if (!verificationErr) { | ||
| throw createError({ statusMessage: "E-mail not verified, check your inbox" }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pls add status codes
No description provided.