Closed duckbytes closed 11 months ago
Updated determineTaskStatus function to first look at time data instead of assignee data. This should make it more reliable, but I'm still not sure why the assignee data wasn't properly being found in the first place.
Will wait and see if it works better for people when live.
Have not had any more reports on this issue.
Sometimes when a job is updated the status is incorrectly set to NEW instead of the correct status. It's unclear if this only happens when a rider updates the job with a time, or if it also happens when a coordinator assigns a rider.
It's likely the function determineTaskStatus is missing context data from the TaskAssignees model, making it return NEW as if there is no rider assigned to it.