Browse Source

Fix trivial error in Miniflux

This is not a bug as the behaviour that should have been implemented was
not being relied upon
reader
J. King 2 years ago
parent
commit
300225439c
  1. 3
      lib/REST/Miniflux/V1.php

3
lib/REST/Miniflux/V1.php

@ -644,9 +644,10 @@ class V1 extends \JKingWeb\Arsse\REST\AbstractHandler {
*
* - "num": The user's numeric ID,
* - "root": The effective name of the root folder
* - "tz": The time zone preference of the user, or UTC if not set
*/
protected function userMeta(string $user): array {
$meta = Arsse::$user->propertiesGet(Arsse::$user->id, false);
$meta = Arsse::$user->propertiesGet($user, false);
return [
'num' => $meta['num'],
'root' => $meta['root_folder_name'] ?? Arsse::$lang->msg("API.Miniflux.DefaultCategoryName"),

Loading…
Cancel
Save