mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
Merge branch 'main' of https://github.com/danilt2000/LuckyDiamond
This commit is contained in:
@@ -50,7 +50,6 @@ export default {
|
|||||||
if (authCode) {
|
if (authCode) {
|
||||||
LogIn(authCode)
|
LogIn(authCode)
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
console.log("Auth Data:", response);
|
|
||||||
SetCookie("UserId", response.userId);
|
SetCookie("UserId", response.userId);
|
||||||
SetCookie("SpUserName", response.spUserName);
|
SetCookie("SpUserName", response.spUserName);
|
||||||
SetCookie("AUTHTOKEN", response.authtoken);
|
SetCookie("AUTHTOKEN", response.authtoken);
|
||||||
@@ -63,7 +62,6 @@ export default {
|
|||||||
GetCurrentMoney(GetCookie("AUTHTOKEN"), GetCookie("SearchToken"))
|
GetCurrentMoney(GetCookie("AUTHTOKEN"), GetCookie("SearchToken"))
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
this.balance = response.currentMoney;
|
this.balance = response.currentMoney;
|
||||||
console.log(response);
|
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
|
|||||||
Reference in New Issue
Block a user