Remove unnecessary .unwrap()
This commit is contained in:
parent
70505f2078
commit
185c97e30e
1 changed files with 1 additions and 2 deletions
|
@ -98,8 +98,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
.body(
|
.body(
|
||||||
serde_json::to_string(&NoteUpdate {
|
serde_json::to_string(&NoteUpdate {
|
||||||
content: body_content,
|
content: body_content,
|
||||||
})
|
})?,
|
||||||
.unwrap(),
|
|
||||||
)
|
)
|
||||||
.send()?;
|
.send()?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue