From a2ef3f6ec4c830611fde1a2e935588ccbbc61c03 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 30 Apr 2025 10:47:54 +0200 Subject: config works --- common/src/config.rs | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'common') diff --git a/common/src/config.rs b/common/src/config.rs index 5dc2d14..9368247 100644 --- a/common/src/config.rs +++ b/common/src/config.rs @@ -35,8 +35,6 @@ pub struct SecretsConfig { #[serde(default)] pub federation: HashMap, #[serde(default)] - pub api: ApiSecrets, - #[serde(default)] pub cookie_key: Option, #[serde(default)] pub session_key: Option, @@ -51,16 +49,6 @@ pub struct FederationAccount { pub tls: bool, } -#[derive(Serialize, Deserialize, Debug, Default)] -pub struct ApiSecrets { - pub acoustid: Option, - pub tmdb: Option, - pub tvdb: Option, - pub imdb: Option, - pub omdb: Option, - pub fanart_tv: Option, - pub trakt: Option, -} fn login_expire() -> i64 { 60 * 60 * 24 -- cgit v1.2.3-70-g09d2