Ken 1 week ago
parent
commit
b5d4849075
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Services/WithdrawService.php

+ 1 - 1
app/Services/WithdrawService.php

@@ -389,7 +389,7 @@ class WithdrawService
         $wallet->available_balance = $afterBalance;
         $wallet->save();
 
-        Withdraw::create([
+        $withdraw = Withdraw::create([
             'member_id' => $chatId,
             'amount' => $amount,
             'service_charge' => $serviceCharge,