From a634b129dab233ef99d7e811edd9b27cd3aeffbf Mon Sep 17 00:00:00 2001 From: saparatayev Date: Fri, 28 Jan 2022 15:15:37 +0500 Subject: [PATCH] changed domain for prod --- app/Http/Controllers/Web/RequestController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Web/RequestController.php b/app/Http/Controllers/Web/RequestController.php index 2ee1f53..4091a42 100644 --- a/app/Http/Controllers/Web/RequestController.php +++ b/app/Http/Controllers/Web/RequestController.php @@ -59,7 +59,7 @@ class RequestController extends Controller ], 400); } - $loginResponse = Http::post('http://127.0.0.1:8000/api/login', [ + $loginResponse = Http::post('https://tmex.gov.tm/api/login', [ 'username' => $input['phone'], 'password' => $input['password'], 'dial_code' => '+' . $input['dial_code'] @@ -91,7 +91,7 @@ class RequestController extends Controller } // try to withdraw fee from the balance for creating a request - $balanceResponse = Http::post('http://127.0.0.1:8000/api/v1/withdraw-from-balance?token=' . $loginResponse['token'], [ + $balanceResponse = Http::post('https://tmex.gov.tm/api/v1/withdraw-from-balance?token=' . $loginResponse['token'], [ // 'token' => $loginResponse['token'], 'total_price' => $input['totalPrice'], // USD or TMT 'currency' => $input['currency'],