diff --git a/json-api/db/src/messages.rs b/json-api/db/src/messages.rs index 1b4effa..c5b9739 100644 --- a/json-api/db/src/messages.rs +++ b/json-api/db/src/messages.rs @@ -97,7 +97,7 @@ impl Message { "author" => uid, "channel" => cid }).await; - if let Ok(ret) = res { + if let Ok(_) = res { // now save the data to disk match fs::File::create(content_ref).await { Ok(mut file) => {