Resolve "Rider app trade-in support" #1723

Merged
arcticzero merged 79 commits from 783-rider-app-trade-in-support into master 2024-04-23 13:11:53 +00:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit a4b883b7ea - Show all commits

View file

@ -2021,6 +2021,7 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
// NOTE: for resq2 app
$mclientv2->sendEvent($obj, $payload);
$mclientv2->sendRiderEvent($obj, $payload);
$fcmclient->sendJoEvent($obj, "jo_fcm_title_driver_assigned", "jo_fcm_body_driver_assigned");
}

View file

@ -89,6 +89,6 @@ class MQTTClient
*/
// NOTE: this is for the new rider app
$this->publish('rider/' . $rider->getID(), json_encode($payload));
$this->publish('rider/' . $rider->getID() . '/delivery', json_encode($payload));
}
}