Skip to content

Commit 595cd98

Browse files
committed
Update gitauth.js
1 parent 0c2c1b3 commit 595cd98

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

git/gitauth.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ async function getGithubToken(gitCode) {
143143

144144
// post through CORS proxy to git with clientId, clientSecret and code
145145
const resp = await axios.post('https://scepter-cors2.herokuapp.com/' +
146-
'https://github.com/login/oauth/access_token?' +
147-
'client_id=7ede3eed3185e59c042d' +
148-
'&client_secret=c1934d5aab1c957800ea8e84ce6a24dda6d68f45' +
149-
'&code=' + gitCode);
146+
'https://github.com/login/oauth/access_token?' +
147+
'client_id=7ede3eed3185e59c042d' +
148+
'&client_secret=c1934d5aab1c957800ea8e84ce6a24dda6d68f45' +
149+
'&code=' + gitCode);
150150

151151
// save git token to localStorage
152152
gitToken = resp.access_token;

0 commit comments

Comments
 (0)