File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 114
114
115
115
document . getElementById ( 'authSection' ) . style . display = 'none' ;
116
116
document . getElementById ( 'loggedInContent' ) . style . display = 'block' ;
117
- document . getElementById ( 'welcomeMessage' ) . textContent = `Welcome to your account, ${ usernameEncoded } !` ;
117
+ document . getElementById ( 'welcomeMessage' ) . textContent = `Welcome to your account, ${ username } !` ;
118
118
119
119
const res = await fetch ( `https://scratchgems.onrender.com/api/data/${ username } ` ) ;
120
120
if ( ! res . ok ) throw new Error ( 'Failed to fetch data' ) ;
187
187
function devToken ( ) {
188
188
const usernameEnc = localStorage . getItem ( 'usernameEnc' ) ;
189
189
const username = localStorage . getItem ( 'username' ) ;
190
- const joined = "Your dev token is: " + username + " - Make sure to only share it with Coding Hut services and partners or else you can get hacked!" ;
190
+ const joined = "Your dev token is: " + usernameEnc + " - Make sure to only share it with Coding Hut services and partners or else you can get hacked!" ;
191
191
devTokens . style . color = "green" ;
192
192
devTokens . textContent = joined ;
193
193
}
You can’t perform that action at this time.
0 commit comments