From 0f74f013128f45a4f34761791203d88228a5eb52 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 20 Jan 2024 22:40:03 +0100 Subject: implement trakt search api --- common/src/config.rs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'common/src') 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, pub omdb: Option, pub fanart_tv: Option, - pub trakt: Option, -} -#[derive(Serialize, Deserialize, Debug)] -pub struct TraktApiSecrets { - pub client_id: String, - pub client_secret: String, - pub expire: DateTime, - pub access_token: String, - pub refresh_token: String, + pub trakt: Option, } mod default { -- cgit v1.2.3-70-g09d2