Add message to cancel mqtt event #488
This commit is contained in:
parent
1e23764452
commit
7152b0f610
1 changed files with 2 additions and 1 deletions
|
|
@ -1154,6 +1154,7 @@ class CMBJobOrderHandler implements JobOrderHandlerInterface
|
||||||
'event' => 'cancelled',
|
'event' => 'cancelled',
|
||||||
'reason' => $cancel_reason,
|
'reason' => $cancel_reason,
|
||||||
'jo_id' => $obj->getID(),
|
'jo_id' => $obj->getID(),
|
||||||
|
'msg' => 'Job order has been cancelled.',
|
||||||
];
|
];
|
||||||
$mclient->sendEvent($obj, $payload);
|
$mclient->sendEvent($obj, $payload);
|
||||||
$mclient->sendRiderEvent($obj, $payload);
|
$mclient->sendRiderEvent($obj, $payload);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue