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