Skip to content

Commit

Permalink
Fixed enum name
Browse files Browse the repository at this point in the history
  • Loading branch information
expobrain committed Oct 22, 2018
1 parent d932390 commit 89bdae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ impl Jira {
{
let data = serde_json::to_string::<S>(&body)?;
debug!("Json request: {}", data);
self.request::<D>(Method::Put, api_name, endpoint, Some(data.into_bytes()))
self.request::<D>(Method::PUT, api_name, endpoint, Some(data.into_bytes()))
}

fn get<D>(&self, api_name: &str, endpoint: &str) -> Result<D>
Expand Down

0 comments on commit 89bdae4

Please sign in to comment.