changed domain for prod
This commit is contained in:
parent
39c9ddee7b
commit
a634b129da
|
|
@ -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'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue