diff --git a/client/auth/github/getAccessToken.js b/client/auth/github/getAccessToken.js index e76923c..f8bd9a3 100644 --- a/client/auth/github/getAccessToken.js +++ b/client/auth/github/getAccessToken.js @@ -24,7 +24,7 @@ module.exports = function getAccessToken({ clientId, redirectUrl, setLoading, sc */ if (setLoading) setLoading(true); - const scopeString = scopes ? scopes.join("%20") : "user"; + const scopeString = scopes ? scopes.join("%20") : "read:user"; const extraUriParamsString = extraUriParams ? typeof extraUriParams == "string" diff --git a/package.json b/package.json index 87aaaa9..cd3dc75 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datasquirel", - "version": "1.3.5", + "version": "1.3.6", "description": "Cloud-based SQL data management tool", "main": "index.js", "scripts": {