Skip to content

Commit

Permalink
chore(register-participant): added TODO comment to handle the error i…
Browse files Browse the repository at this point in the history
…n the future
  • Loading branch information
gabepinheiro committed Jul 18, 2023
1 parent 5ef3519 commit 95cfa8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/events/[event]/participants/data-participants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 95cfa8a

Please sign in to comment.