fixed get auth and search token/code

This commit is contained in:
Kostya
2023-12-14 20:21:40 +03:00
parent 63dacbf122
commit 5b4ab39655

View File

@@ -75,10 +75,11 @@ export default {
},
created() {
this.username = GetCookie('SpUserName')
this.balance = GetCurrentMoney(
{ authToken: GetCookie('AUTHTOKEN') },
{ serachToken: GetCookie('SearchToken') }
)
const authcode = GetCookie('AUTHTOKEN')
const searchtoken = GetCookie('SearchToken')
console.log('AUTHCODE AND SEARCH TOKEN - ', authcode, searchtoken)
this.balance = GetCurrentMoney(authcode, searchtoken)
console.log('Created Hook - Profile page = balance = ', this.balance)
this.imageUrl = `https://visage.surgeplay.com/front/256/${this.username}`
},