Skip to content

Commit

Permalink
fix: remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
limwa committed Feb 10, 2025
1 parent 30a4e6d commit f832dd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion website/app/controllers/profiles_controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export default class ProfilesController {

const profile = await createProfileValidator.validate(data)

console.log(profile)
const profileAdd = new ParticipantProfile()
profileAdd.fill(profile)

Expand Down
4 changes: 2 additions & 2 deletions website/start/events.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import UserCreated from '#events/user_created'
import UserEmailVerified from '#events/user_email_verified'
// import UserEmailVerified from '#events/user_email_verified'
import UserRequestedVerificationEmail from '#events/user_requested_verification_email'
import emitter from '@adonisjs/core/services/emitter'

Expand All @@ -8,4 +8,4 @@ const SendVerificationEmail = () => import('#listeners/send_verification_email')
emitter.on(UserCreated, [SendVerificationEmail, 'handle'])
emitter.on(UserRequestedVerificationEmail, [SendVerificationEmail, 'handle'])

emitter.on(UserEmailVerified, (ev) => console.log(ev))
// emitter.on(UserEmailVerified, (ev) => console.log(ev))

0 comments on commit f832dd1

Please sign in to comment.