mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
fixed get auth and search token/code
This commit is contained in:
@@ -75,10 +75,11 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.username = GetCookie('SpUserName')
|
this.username = GetCookie('SpUserName')
|
||||||
this.balance = GetCurrentMoney(
|
const authcode = GetCookie('AUTHTOKEN')
|
||||||
{ authToken: GetCookie('AUTHTOKEN') },
|
const searchtoken = GetCookie('SearchToken')
|
||||||
{ serachToken: GetCookie('SearchToken') }
|
console.log('AUTHCODE AND SEARCH TOKEN - ', authcode, searchtoken)
|
||||||
)
|
|
||||||
|
this.balance = GetCurrentMoney(authcode, searchtoken)
|
||||||
console.log('Created Hook - Profile page = balance = ', this.balance)
|
console.log('Created Hook - Profile page = balance = ', this.balance)
|
||||||
this.imageUrl = `https://visage.surgeplay.com/front/256/${this.username}`
|
this.imageUrl = `https://visage.surgeplay.com/front/256/${this.username}`
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user