mirror of
https://github.com/pelican-dev/panel.git
synced 2026-03-01 03:17:15 +03:00
fix up API route return
This commit is contained in:
@@ -58,7 +58,7 @@ class LocationController extends BaseController
|
||||
$location->nodes = explode(',', $location->nodes);
|
||||
}
|
||||
|
||||
return $locations;
|
||||
return $locations->toArray();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user