Format code

This commit is contained in:
Zoe Roux 2023-05-05 01:56:49 +09:00
parent 95133deeb0
commit 954909fecd
No known key found for this signature in database
2 changed files with 1 additions and 6 deletions

View File

@ -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};

View File

@ -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())
}