Ken пре 2 месеци
родитељ
комит
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) {
             $res = WalletService::getBalance($chatId);
             $res['message_id'] = $messageId;
-            return $res;
+            return [
+                'chat_id' => $chatId,
+                'text' => json_encode($res),
+                'message_id' => $messageId,
+            ];
         }
 //
         return [