Switch parameters of allowJOProgress to fix error #793
This commit is contained in:
parent
9152370300
commit
ca513355fe
1 changed files with 1 additions and 1 deletions
|
|
@ -1739,7 +1739,7 @@ class RiderAppController extends ApiController
|
|||
return $msg;
|
||||
}
|
||||
|
||||
protected function allowJOProgress($rider, JobOrder $jo)
|
||||
protected function allowJOProgress(JobOrder $jo, $rider)
|
||||
{
|
||||
// TODO: add more statuses to block if needed, hence. this is a failsafe in case MQTT is not working.
|
||||
switch ($jo->getStatus())
|
||||
|
|
|
|||
Loading…
Reference in a new issue