This commit is contained in:
cyber-dream 2024-01-14 20:33:14 +03:00
parent c1d8dbed47
commit 3e8f52a200

View File

@ -125,10 +125,7 @@ loginSkirdaDiscordButton.addEventListener('click', async () =>{
console.log(yggAuthRes) console.log(yggAuthRes)
AuthManager.addSkirdaAccount(yggAuthRes.profile.id, yggAuthRes.accessToken, skirdaAuth.skirdaUserId, yggAuthRes.profile.name, skirdaAuth.token) AuthManager.addSkirdaAccount(yggAuthRes.profile.id, skirdaAuth.token, skirdaAuth.skirdaUserId, yggAuthRes.profile.name, skirdaAuth.token)
// AuthManager.addSkirdaAccount(account.uuid, account.token, account.username, account.displayName)
AuthManager.addSkirdaAccount(account.uuid, account.token, account.username, account.displayName)
setTimeout(() => { setTimeout(() => {
switchView(VIEWS.loginSkirdaDiscord, VIEWS.landing, 500, 500) switchView(VIEWS.loginSkirdaDiscord, VIEWS.landing, 500, 500)