Code formatting
This commit is contained in:
+2
-4
@@ -731,10 +731,8 @@ pub mod endpoint {
|
|||||||
let name = field.name().unwrap().to_string();
|
let name = field.name().unwrap().to_string();
|
||||||
let file_name = field.file_name().unwrap().to_string();
|
let file_name = field.file_name().unwrap().to_string();
|
||||||
let content_type = match field.content_type() {
|
let content_type = match field.content_type() {
|
||||||
Some(ct) => {
|
Some(ct) => ct.to_string(),
|
||||||
ct.to_string()
|
None => String::new(),
|
||||||
}
|
|
||||||
None => String::new()
|
|
||||||
};
|
};
|
||||||
// .unwrap().to_string();
|
// .unwrap().to_string();
|
||||||
let data = field.bytes().await.unwrap();
|
let data = field.bytes().await.unwrap();
|
||||||
|
|||||||
Reference in New Issue
Block a user