API: The instance record had got a malformatted value
This commit is contained in:
parent
3f6b079976
commit
55919dbd06
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class Instance extends BaseDataTransferObject
|
||||||
$instance->description = DI::config()->get('config', 'info');
|
$instance->description = DI::config()->get('config', 'info');
|
||||||
$instance->email = DI::config()->get('config', 'admin_email');
|
$instance->email = DI::config()->get('config', 'admin_email');
|
||||||
$instance->version = FRIENDICA_VERSION;
|
$instance->version = FRIENDICA_VERSION;
|
||||||
$instance->urls = []; // Not supported
|
$instance->urls = null; // Not supported
|
||||||
$instance->stats = Stats::get();
|
$instance->stats = Stats::get();
|
||||||
$instance->thumbnail = $baseUrl->get() . (DI::config()->get('system', 'shortcut_icon') ?? 'images/friendica-32.png');
|
$instance->thumbnail = $baseUrl->get() . (DI::config()->get('system', 'shortcut_icon') ?? 'images/friendica-32.png');
|
||||||
$instance->languages = [DI::config()->get('system', 'language')];
|
$instance->languages = [DI::config()->get('system', 'language')];
|
||||||
|
|
Loading…
Reference in a new issue