diff --git a/src/app/events/[event]/participants/data-participants.ts b/src/app/events/[event]/participants/data-participants.ts index ca84a75..9d9e874 100644 --- a/src/app/events/[event]/participants/data-participants.ts +++ b/src/app/events/[event]/participants/data-participants.ts @@ -82,6 +82,7 @@ export async function registerParticipant({ if (!result.ok) { const { message } = dataOrError + // TODO: handle the error in the future return Promise.reject(message) }