mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
fix yd fetch
This commit is contained in:
@@ -20,6 +20,7 @@ class FetchesDataFromYDPortal
|
||||
$client = new \GuzzleHttp\Client();
|
||||
|
||||
$body['apicode'] = env('YD_API_CODE');
|
||||
dd(env('YD_API_CODE'));
|
||||
|
||||
$request = $client->requestAsync($method, $url, ['query' => $body]);
|
||||
|
||||
|
||||
+1
-1
@@ -153,7 +153,7 @@ class FetchOrderListsFromYdPortalProcessor
|
||||
]);
|
||||
|
||||
$rows = $this->fetchesDataFRomYDPortal->getResponseBody($orderRequest);
|
||||
dd($rows);
|
||||
|
||||
foreach($rows->data as $row){
|
||||
|
||||
$containerReference = null;
|
||||
|
||||
Reference in New Issue
Block a user