Skip to content

Commit dfa2335

Browse files
authored
Update gitauth.js
1 parent 99faf49 commit dfa2335

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
@@ -111,9 +111,6 @@ window.onload = async () => {
111111
})
112112

113113

114-
loadLS();
115-
116-
117114
// if git code exists in link
118115
if (linkData.gitCode) {
119116

@@ -139,9 +136,12 @@ window.onload = async () => {
139136
const gitCode = linkData.gitCode;
140137

141138
// get git token from Github
142-
getGithubToken(gitCode);
139+
await getGithubToken(gitCode);
143140

144141
}
142+
143+
144+
loadLS();
145145

146146
}
147147

0 commit comments

Comments
 (0)