Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
TgZ39 committed May 30, 2024
1 parent 63dd3f9 commit f832aaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/request/request_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ pub enum RequestBuilderError {
}

impl NadeoRequestBuilder {
/// Adds a text body to the request. Usually JSON.
pub fn body(mut self, json: &str) -> Self {
self.body = Some(json.to_string());

Expand Down

0 comments on commit f832aaf

Please sign in to comment.