diff --git a/modules/quanthub_core/src/PowerBIEmbedConfigs.php b/modules/quanthub_core/src/PowerBIEmbedConfigs.php index eaeb333..b3382ee 100644 --- a/modules/quanthub_core/src/PowerBIEmbedConfigs.php +++ b/modules/quanthub_core/src/PowerBIEmbedConfigs.php @@ -182,7 +182,11 @@ public function getPowerBiEmbedToken($token, $reportId, $datasetIds) { ]; if (count($entitledDatasets) > 0) { - $payload['identities'] = [['username' => $powerbiUser, 'roles' => [$powerbiRole], 'datasets' => $entitledDatasets]]; + $payload['identities'] = [[ + 'username' => $powerbiUser, + 'roles' => [$powerbiRole], + 'datasets' => $entitledDatasets + ]]; } $payload_json = json_encode($payload);