From 606f2ecdc265d79fd71b427b27ea291030f1298e Mon Sep 17 00:00:00 2001 From: LJQ Date: Fri, 8 Mar 2024 14:49:33 +0800 Subject: [PATCH] Explicit delcaration of default values for _cacheDurationInHours and _cacheDurationInDays --- Jellyfin.Plugin.Tvdb/Configuration/PluginConfiguration.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jellyfin.Plugin.Tvdb/Configuration/PluginConfiguration.cs b/Jellyfin.Plugin.Tvdb/Configuration/PluginConfiguration.cs index 48a9696..330374e 100644 --- a/Jellyfin.Plugin.Tvdb/Configuration/PluginConfiguration.cs +++ b/Jellyfin.Plugin.Tvdb/Configuration/PluginConfiguration.cs @@ -11,8 +11,8 @@ public class PluginConfiguration : BasePluginConfiguration /// Gets the tvdb api key for project. /// public const string ProjectApiKey = "7f7eed88-2530-4f84-8ee7-f154471b8f87"; - private int _cacheDurationInHours; - private int _cacheDurationInDays; + private int _cacheDurationInHours = 1; + private int _cacheDurationInDays = 7; /// /// Gets or sets the tvdb api key for user.