From 2208fcfd5b9574f53134a0f8a2b0e4d0b285c430 Mon Sep 17 00:00:00 2001 From: Tben Date: Tue, 8 Aug 2023 13:04:22 +0100 Subject: [PATCH] Updates --- client/auth/github/getAccessToken.js | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/client/auth/github/getAccessToken.js b/client/auth/github/getAccessToken.js index f8bd9a3..880157e 100644 --- a/client/auth/github/getAccessToken.js +++ b/client/auth/github/getAccessToken.js @@ -34,7 +34,9 @@ module.exports = function getAccessToken({ clientId, redirectUrl, setLoading, sc .join("&")}` : ""; - const fetchUrl = `https://github.com/login/oauth/authorize?client_id=${clientId}&scope=${scopeString}&redirect_uri=${redirectUrl}${window.location.pathname}${extraUriParamsString}`; + console.log("extraUriParamsString:", extraUriParamsString); + + const fetchUrl = `https://github.com/login/oauth/authorize?client_id=${clientId}&scope=${scopeString}&redirect_uri=${redirectUrl}${extraUriParamsString}`; window.location.assign(fetchUrl); ////////////////////////////////////////////////////////////////////////////////// diff --git a/package.json b/package.json index cd3dc75..01e901b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datasquirel", - "version": "1.3.6", + "version": "1.3.7", "description": "Cloud-based SQL data management tool", "main": "index.js", "scripts": {