Remove unnecessary .unwrap()

This commit is contained in:
Elnu 2023-08-26 12:13:28 -07:00
parent 70505f2078
commit 185c97e30e

View file

@ -98,8 +98,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
.body(
serde_json::to_string(&NoteUpdate {
content: body_content,
})
.unwrap(),
})?,
)
.send()?;