From 300225439cfac1fb698f72d5c39c43bef5f247aa Mon Sep 17 00:00:00 2001 From: "J. King" Date: Fri, 29 Apr 2022 19:04:08 -0400 Subject: [PATCH] Fix trivial error in Miniflux This is not a bug as the behaviour that should have been implemented was not being relied upon --- lib/REST/Miniflux/V1.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/REST/Miniflux/V1.php b/lib/REST/Miniflux/V1.php index 09a24f32..00915ba6 100644 --- a/lib/REST/Miniflux/V1.php +++ b/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"),