Closed Bricklou closed 3 years ago
Can you please open another PR mentioning that the user
call will fail, if someone defines custom scopes and do not add identity
in it?
On the documentation you mean ?
Yup. For docs. Here's the link to the repo https://github.com/adonisjs/docs.adonisjs.com
Thanks for the PR :)
Proposed changes
Just added
identify
scope to the default required scopes. Without thisidentify
scope, the Discord API throw an "Unauthorized" (401) error. Fix #127Types of changes
Bug fixing
What types of changes does your code introduce?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.