Ken 4 месяцев назад
Родитель
Сommit
e42d9670b4
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      app/Services/WithdrawService.php

+ 5 - 1
app/Services/WithdrawService.php

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