From 0123433f8162ca4071eacaf14954af64a9abbb33 Mon Sep 17 00:00:00 2001 From: cloudhead Date: Fri, 1 Sep 2023 15:16:43 +0200 Subject: [PATCH] httpd: Fix clippy warning Note: because we don't have a working copy here, we can't call `Merged::cleanup`. We need to figure something out for this. --- radicle-httpd/src/api/v1/projects.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/radicle-httpd/src/api/v1/projects.rs b/radicle-httpd/src/api/v1/projects.rs index a51462ed..1456f2e0 100644 --- a/radicle-httpd/src/api/v1/projects.rs +++ b/radicle-httpd/src/api/v1/projects.rs @@ -711,7 +711,8 @@ async fn patch_update_handler( patch.review(revision, verdict, summary, labels, &signer)?; } patch::Action::Merge { revision, commit } => { - patch.merge(revision, commit, &signer)?; + // TODO: We should cleanup the stored copy at least. + let _ = patch.merge(revision, commit, &signer)?; } patch::Action::RevisionComment { revision,