Skip to content
This repository has been archived by the owner on Mar 27, 2021. It is now read-only.

Commit

Permalink
FIx Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sasial-dev committed Sep 20, 2020
1 parent 57cee05 commit 7112312
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/github/githubauth.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class GitHub {
*
* @param {String[]} Scopes - The scopes to add.
* @returns {String[]} The scopes that are currently added.
* @memberof Discord
* @memberof GitHub
*/
async addScopes (scopes) {
const allowedscopes = ['user']
Expand All @@ -144,7 +144,7 @@ class GitHub {
* This functions gives the ability to get the redirect URL.
*
* @returns {String} The URL to use for redirection.
* @memberof Discord
* @memberof GitHub
*/
async getURL () {
const url = `https://github.com/login/oauth/authorize?client_id=${this.Config.client_id}&redirect_uri=${this.Config.callback}&response_type=code&scope=${this.Scopes.join(' ')}`
Expand Down

0 comments on commit 7112312

Please sign in to comment.