added test for auth and search token get from cookie in profile page

This commit is contained in:
Kostya
2023-12-14 20:18:16 +03:00
parent c1ed27254a
commit 63dacbf122

View File

@@ -76,8 +76,8 @@ export default {
created() { created() {
this.username = GetCookie('SpUserName') this.username = GetCookie('SpUserName')
this.balance = GetCurrentMoney( this.balance = GetCurrentMoney(
GetCookie('AUTHTOKEN'), { authToken: GetCookie('AUTHTOKEN') },
GetCookie('SearchToken') { serachToken: GetCookie('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}`