New Features

- Added user_agent configuration field to Trakt API settings.

Changes

- Renamed Trakt API configuration field from key to api_key for consistency.
- Updated README and documentation with new Trakt API configuration structure.
- Updated UI labels for API configuration fields.
This commit is contained in:
euzu
2026-01-12 09:11:16 +01:00
parent 3fade46e04
commit b42e2f71fa
5 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ impl TraktClient {
}
}
fn create_headers(api_config: &TraktApiConfig) -> axum::http::HeaderMap {
fn create_headers(api_config: &TraktApiConfig) -> HeaderMap {
let mut headers = HeaderMap::new();
headers.insert(reqwest::header::CONTENT_TYPE, HeaderValue::from_static(mime::APPLICATION_JSON.as_ref()));