diff --git a/transcoder/src/audio.rs b/transcoder/src/audio.rs index a8dcc070..6052f8a1 100644 --- a/transcoder/src/audio.rs +++ b/transcoder/src/audio.rs @@ -1,8 +1,4 @@ -use crate::{ - error::ApiError, - paths, - state::Transcoder, -}; +use crate::{error::ApiError, paths, state::Transcoder}; use actix_files::NamedFile; use actix_web::{get, web, Result}; diff --git a/transcoder/src/utils.rs b/transcoder/src/utils.rs index a35a87db..5e27aed8 100644 --- a/transcoder/src/utils.rs +++ b/transcoder/src/utils.rs @@ -48,4 +48,3 @@ pub fn get_client_id(req: HttpRequest) -> Result { .ok_or(ApiError::BadRequest { error: String::from("Missing client id. Please specify the X-CLIENT-ID header to a guid constant for the lifetime of the player (but unique per instance)."), }) .map(|x| x.to_str().unwrap().to_string()) } -