Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
link2xt committed Aug 29, 2024
1 parent 326ed3b commit c711a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ pub(crate) async fn post_empty(context: &Context, url: &str) -> Result<(String,
let text = String::from_utf8_lossy(&body);
let response_text = text.to_string();

return Ok((response_text, response_status.is_success()));
Ok((response_text, response_status.is_success()))
}

/// Posts string to the given URL.
Expand Down

0 comments on commit c711a05

Please sign in to comment.