Set job_order field to null if no ongoing in RAPI call #488
This commit is contained in:
parent
97d8b9e147
commit
2c4167a093
1 changed files with 3 additions and 3 deletions
|
|
@ -2104,9 +2104,9 @@ class CMBRiderAPIHandler implements RiderAPIHandlerInterface
|
||||||
if ($jo == null)
|
if ($jo == null)
|
||||||
{
|
{
|
||||||
$data = [
|
$data = [
|
||||||
//'title' => 'Failed Get Ongoing Job Order',
|
// 'title' => 'Failed Get Ongoing Job Order',
|
||||||
//'error' => 'No active job order.',
|
// 'error' => 'No active job order.',
|
||||||
'job_order' => [],
|
'job_order' => null,
|
||||||
];
|
];
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue