diff --git a/lib/Service/DatasetService.php b/lib/Service/DatasetService.php index e1eb57d2..dc2a7473 100644 --- a/lib/Service/DatasetService.php +++ b/lib/Service/DatasetService.php @@ -111,7 +111,7 @@ public function index() public function readOwn(int $datasetId) { $ownDataset = $this->DatasetMapper->readOwn($datasetId); - if (! empty($ownDataset)) { + if (!empty($ownDataset)) { $ownDataset['permissions'] = \OCP\Constants::PERMISSION_UPDATE; } $ownDataset['dataset'] = $ownDataset['id'];