Ken 2 miesięcy temu
rodzic
commit
e42d9670b4
1 zmienionych plików z 5 dodań i 1 usunięć
  1. 5 1
      app/Services/WithdrawService.php

+ 5 - 1
app/Services/WithdrawService.php

@@ -481,7 +481,11 @@ class WithdrawService
         if ($three_payment_switch != 1) {
             $res = WalletService::getBalance($chatId);
             $res['message_id'] = $messageId;
-            return $res;
+            return [
+                'chat_id' => $chatId,
+                'text' => json_encode($res),
+                'message_id' => $messageId,
+            ];
         }
 //
         return [