changed domain for prod

This commit is contained in:
saparatayev 2022-01-28 15:15:37 +05:00
parent 39c9ddee7b
commit a634b129da
1 changed files with 2 additions and 2 deletions

View File

@ -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'],