mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-20 15:23:44 +02:00
Corrected permissions to go with the more logical thought process
This commit is contained in:
@@ -93,7 +93,7 @@ class LocationTransformer extends TransformerAbstract
|
||||
*/
|
||||
public function includeNodes(Location $location)
|
||||
{
|
||||
if ($this->request && ! $this->request->apiKeyHasPermission('location-list')) {
|
||||
if ($this->request && ! $this->request->apiKeyHasPermission('node-list')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user