From 63dacbf122dafefe043a1852336a67cc37d871a4 Mon Sep 17 00:00:00 2001 From: Kostya Date: Thu, 14 Dec 2023 20:18:16 +0300 Subject: [PATCH] added test for auth and search token get from cookie in profile page --- luckydiamond/src/pages/ProfilePage.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luckydiamond/src/pages/ProfilePage.vue b/luckydiamond/src/pages/ProfilePage.vue index d7aff51..422df4a 100644 --- a/luckydiamond/src/pages/ProfilePage.vue +++ b/luckydiamond/src/pages/ProfilePage.vue @@ -76,8 +76,8 @@ export default { created() { this.username = GetCookie('SpUserName') this.balance = GetCurrentMoney( - GetCookie('AUTHTOKEN'), - GetCookie('SearchToken') + { authToken: GetCookie('AUTHTOKEN') }, + { serachToken: GetCookie('SearchToken') } ) console.log('Created Hook - Profile page = balance = ', this.balance) this.imageUrl = `https://visage.surgeplay.com/front/256/${this.username}`