mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Format code
This commit is contained in:
parent
95133deeb0
commit
954909fecd
@ -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};
|
||||
|
||||
|
@ -48,4 +48,3 @@ pub fn get_client_id(req: HttpRequest) -> Result<String, ApiError> {
|
||||
.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())
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user