Update Zones untuk get api crm
This commit is contained in:
parent
f26628cba8
commit
0f5d897378
@ -59,7 +59,8 @@ class Zones extends BaseController {
|
||||
|
||||
try {
|
||||
// Ambil data dari API pusat (CRM)
|
||||
$response = $client->get('https://services-summit.my.id/api/zones');
|
||||
$response = $client->get('http://services-summit.my.id/api/zones'); // Prod
|
||||
// $response = $client->get('https://services-summit.my.id/api/zones'); // Dev
|
||||
$result = json_decode($response->getBody(), true);
|
||||
|
||||
if (!isset($result['data']) || !is_array($result['data'])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user