summaryrefslogtreecommitdiffstats
path: root/settings/Controller/AppSettingsController.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/Controller/AppSettingsController.php')
-rw-r--r--settings/Controller/AppSettingsController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/Controller/AppSettingsController.php b/settings/Controller/AppSettingsController.php
index a44a252a747..6784a53aee9 100644
--- a/settings/Controller/AppSettingsController.php
+++ b/settings/Controller/AppSettingsController.php
@@ -485,6 +485,7 @@ class AppSettingsController extends Controller {
$apps = array_map(function($appData) use ($manager) {
$appStoreData = $manager->getApp($appData['id']);
$appData['appstoreData'] = $appStoreData;
+ $appData['license'] = $appStoreData['releases'][0]['licenses'];
$appData['preview'] = isset($appStoreData['screenshots'][0]['url']) ? 'https://usercontent.apps.nextcloud.com/'.base64_encode($appStoreData['screenshots'][0]['url']) : '';
return $appData;
}, $apps);