mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-05-16 20:57:12 +02:00
Cargo fmt
This commit is contained in:
@@ -304,7 +304,10 @@ async fn build_binary_body(
|
||||
}))
|
||||
}
|
||||
|
||||
fn build_text_body(body: &BTreeMap<String, serde_json::Value>, body_type: &str) -> Option<SendableBodyWithMeta> {
|
||||
fn build_text_body(
|
||||
body: &BTreeMap<String, serde_json::Value>,
|
||||
body_type: &str,
|
||||
) -> Option<SendableBodyWithMeta> {
|
||||
let text = get_str_map(body, "text");
|
||||
if text.is_empty() {
|
||||
return None;
|
||||
|
||||
Reference in New Issue
Block a user