mirror of
https://github.com/typemill/typemill.git
synced 2025-08-05 21:57:31 +02:00
v2.2.2 fixcall to old license model
This commit is contained in:
@@ -49,9 +49,12 @@ class ControllerApiSystemLicense extends Controller
|
||||
return $response->withHeader('Content-Type', 'application/json')->withStatus(400);
|
||||
}
|
||||
|
||||
$licensedata = $license->getLicenseFile();
|
||||
unset($licensedata['signature']);
|
||||
|
||||
$response->getBody()->write(json_encode([
|
||||
'message' => Translations::translate('Licence has been stored'),
|
||||
'licensedata' => $license->getLicenseData($this->c->get('urlinfo'))
|
||||
'licensedata' => $licensedata
|
||||
]));
|
||||
|
||||
return $response->withHeader('Content-Type', 'application/json')->withStatus(200);
|
||||
|
Reference in New Issue
Block a user