From 7a641aead522c5aa2bc2ef31eb4c7490d9d25aef 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 a51462ed9..1456f2e00 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,