From 0e86e96f0a6e0e83aa172407b05e458460faf109 Mon Sep 17 00:00:00 2001 From: mac Date: Sat, 12 Dec 2020 01:09:30 +0300 Subject: [PATCH] fix --- src/Services/WalletService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/WalletService.php b/src/Services/WalletService.php index add520d..02bfe93 100644 --- a/src/Services/WalletService.php +++ b/src/Services/WalletService.php @@ -25,7 +25,7 @@ public function create(WalletTransactionType $types) $wallet->balance = $wallet->balance + $types->getAmount(); $wallet->save(); } - if (($types->getType() == self::TYPE_DEPOSIT OR $types->getType() == self::TYPE_WIN OR self::TYPE_BONUS) && $types->getConfirmed()) { + if (($types->getType() == self::TYPE_DEPOSIT OR $types->getType() == self::TYPE_WIN OR $types->getType() == self::TYPE_BONUS) && $types->getConfirmed()) { $wallet->balance = $wallet->balance + $types->getAmount(); $wallet->save(); }