diff options
author | metamuffin <metamuffin@disroot.org> | 2025-04-30 10:47:54 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-04-30 10:47:54 +0200 |
commit | a2ef3f6ec4c830611fde1a2e935588ccbbc61c03 (patch) | |
tree | ddcc1cb501e6c7237edd491aa7136d02150d03d3 /common/src | |
parent | 212a0f23bc894faf88e159560c113f504349cc05 (diff) | |
download | jellything-a2ef3f6ec4c830611fde1a2e935588ccbbc61c03.tar jellything-a2ef3f6ec4c830611fde1a2e935588ccbbc61c03.tar.bz2 jellything-a2ef3f6ec4c830611fde1a2e935588ccbbc61c03.tar.zst |
config works
Diffstat (limited to 'common/src')
-rw-r--r-- | common/src/config.rs | 12 |
1 files changed, 0 insertions, 12 deletions
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<String, FederationAccount>, #[serde(default)] - pub api: ApiSecrets, - #[serde(default)] pub cookie_key: Option<String>, #[serde(default)] pub session_key: Option<String>, @@ -51,16 +49,6 @@ pub struct FederationAccount { pub tls: bool, } -#[derive(Serialize, Deserialize, Debug, Default)] -pub struct ApiSecrets { - pub acoustid: Option<String>, - pub tmdb: Option<String>, - pub tvdb: Option<String>, - pub imdb: Option<String>, - pub omdb: Option<String>, - pub fanart_tv: Option<String>, - pub trakt: Option<String>, -} fn login_expire() -> i64 { 60 * 60 * 24 |