This commit is contained in:
Tben 2023-08-08 13:04:22 +01:00
parent 8ed332c39d
commit 2208fcfd5b
2 changed files with 4 additions and 2 deletions

View File

@ -34,7 +34,9 @@ module.exports = function getAccessToken({ clientId, redirectUrl, setLoading, sc
.join("&")}` .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); window.location.assign(fetchUrl);
////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////

View File

@ -1,6 +1,6 @@
{ {
"name": "datasquirel", "name": "datasquirel",
"version": "1.3.6", "version": "1.3.7",
"description": "Cloud-based SQL data management tool", "description": "Cloud-based SQL data management tool",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {