-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
rerum_server_nodejs/auth/index.js
Lines 84 to 91 in 2f43bb8
| // Here we need to check if this is an Auth0 success object or an Auth0 error object | |
| if(tokenObj.error){ | |
| console.error(tokenObj.error_description) | |
| res.status(500).send(tokenObj.error_description) | |
| } | |
| else{ | |
| res.status(200).send(tokenObj) | |
| } |
This conditional is overbuilt
Copilot
Metadata
Metadata
Assignees
Labels
No labels