fix up API route return
This commit is contained in:
parent
9d55e93e9e
commit
06422b2055
6 changed files with 11 additions and 16 deletions
|
@ -58,7 +58,7 @@ class LocationController extends BaseController
|
|||
$location->nodes = explode(',', $location->nodes);
|
||||
}
|
||||
|
||||
return $locations;
|
||||
return $locations->toArray();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue