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

+ 1 - 5
app/Services/WithdrawService.php

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