mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
fixed value balance in amountdeposit, saper
This commit is contained in:
@@ -177,13 +177,12 @@ export default {
|
||||
async amountDeposit(DiamondCount) {
|
||||
if (DiamondCount >= 1) {
|
||||
try {
|
||||
let balance = 0
|
||||
await GetCurrentMoney(GetCookie('AUTHTOKEN'), GetCookie('SearchToken'))
|
||||
.then((response) => {
|
||||
this.balance = response
|
||||
console.log(balance)
|
||||
this.balance = response.currentMoney
|
||||
console.log(this.balance)
|
||||
})
|
||||
if (balance >= DiamondCount) {
|
||||
if (this.balance >= DiamondCount) {
|
||||
this.amountSaveDeposit = DiamondCount
|
||||
this.ValidationPlay.DiamondValidate = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user