Commit 36a6ce8e authored by Khumoyunmirzo Sodiqov's avatar Khumoyunmirzo Sodiqov

fix

parent 88f5cd14
......@@ -188,11 +188,11 @@ class DeliverySytemsController extends Controller
$result = $shipService->getProcessShipmentReply($processShipmentRequest);
if ($result->HighestSeverity == 'ERROR') {
dd($result);
// return response()->json([
// 'error' => $result->Notifications[0]->Message,
// 'code' => $result->Notifications[0]->Code
// ], 200);
// dd($result);
return response()->json([
'error' => $result->Notifications[0]->Message,
'code' => $result->Notifications[0]->Code
], 200);
}
if ($result->HighestSeverity == 'WARNING') {
// dd($result->Notifications[0]->Message);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment