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)
|
||||
{
|
||||
$data = [
|
||||
//'title' => 'Failed Get Ongoing Job Order',
|
||||
//'error' => 'No active job order.',
|
||||
'job_order' => [],
|
||||
// 'title' => 'Failed Get Ongoing Job Order',
|
||||
// 'error' => 'No active job order.',
|
||||
'job_order' => null,
|
||||
];
|
||||
return $data;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue