Skip to content

Commit

Permalink
refactor (AuthController/logs): comment console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
HeitorMatt committed Oct 15, 2020
1 parent 2984787 commit 9f4f506
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/adonisjs/app/Controllers/Http/v1/AuthController.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ const User = use('App/Models/v1/User')
class AuthController {
async checkToken ({ request, auth, response }) {
try {
console.log('====Checking token...')
// console.log('====Checking token...')
await auth.check()
response.json('token valid')
console.log('====Token valid')
// console.log('====Token valid')
} catch (error) {
console.log('====Token invalid')
// console.log('====Token invalid')
}
}

Expand Down

0 comments on commit 9f4f506

Please sign in to comment.