From 185c97e30edc5cdd262d201e5d4a9fee1c2b0564 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Sat, 26 Aug 2023 12:13:28 -0700 Subject: [PATCH] Remove unnecessary .unwrap() --- status_cloud/src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/status_cloud/src/main.rs b/status_cloud/src/main.rs index 7a49987..5391d91 100644 --- a/status_cloud/src/main.rs +++ b/status_cloud/src/main.rs @@ -98,8 +98,7 @@ fn main() -> Result<(), Box> { .body( serde_json::to_string(&NoteUpdate { content: body_content, - }) - .unwrap(), + })?, ) .send()?;