Make sure proper fares are returned from the API #899
This commit is contained in:
@@ -60,13 +60,13 @@ class FareService extends Service
|
||||
}
|
||||
|
||||
/**
|
||||
* Get fares
|
||||
* Get a fare with the proper prices/costs populated in the pivot
|
||||
*
|
||||
* @param $fare
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
protected function getFares($fare)
|
||||
public function getFares($fare)
|
||||
{
|
||||
$pivot = $fare->pivot;
|
||||
if (filled($pivot->price)) {
|
||||
|
||||
Reference in New Issue
Block a user