mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-16 12:52:24 +02:00
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:
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user