diff options
author | metamuffin <metamuffin@disroot.org> | 2024-01-20 22:40:03 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-01-20 22:40:03 +0100 |
commit | 0f74f013128f45a4f34761791203d88228a5eb52 (patch) | |
tree | 32826c46971e3d637b32f67630989a243d4dbb9d /common/src | |
parent | 42f7a95ce67506344b694535ff193745452c6e29 (diff) | |
download | jellything-0f74f013128f45a4f34761791203d88228a5eb52.tar jellything-0f74f013128f45a4f34761791203d88228a5eb52.tar.bz2 jellything-0f74f013128f45a4f34761791203d88228a5eb52.tar.zst |
implement trakt search api
Diffstat (limited to 'common/src')
-rw-r--r-- | common/src/config.rs | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/common/src/config.rs b/common/src/config.rs index 1c1439e..4e90cf0 100644 --- a/common/src/config.rs +++ b/common/src/config.rs @@ -5,7 +5,6 @@ */ use crate::{jhls::EncodingProfile, user::PermissionSet}; -use chrono::{DateTime, Utc}; use serde::{Deserialize, Serialize}; use std::{collections::HashMap, path::PathBuf}; @@ -53,15 +52,7 @@ pub struct ApiSecrets { pub imdb: Option<String>, pub omdb: Option<String>, pub fanart_tv: Option<String>, - pub trakt: Option<TraktApiSecrets>, -} -#[derive(Serialize, Deserialize, Debug)] -pub struct TraktApiSecrets { - pub client_id: String, - pub client_secret: String, - pub expire: DateTime<Utc>, - pub access_token: String, - pub refresh_token: String, + pub trakt: Option<String>, } mod default { |