From 8ed332c39d0b9faa561c28a17196566da0024b1c Mon Sep 17 00:00:00 2001 From: Tben Date: Tue, 8 Aug 2023 12:51:09 +0100 Subject: [PATCH] Updates --- client/auth/github/getAccessToken.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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": {