From 16ee8dd6106814e386c5b69980b2b818528509ba Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 19 Feb 2025 08:53:56 +0800 Subject: [PATCH] repo/contrib: Fix destination_commit param --- http_handle_repo_contrib_one.go | 2 +- diff --git a/http_handle_repo_contrib_one.go b/http_handle_repo_contrib_one.go index a09b6e805a0c72768953f21396f062370040fa3b..42edd8c24253a669ed69b7652c85df5bd19d7ced 100644 --- a/http_handle_repo_contrib_one.go +++ b/http_handle_repo_contrib_one.go @@ -47,7 +47,7 @@ if err != nil { http.Error(w, "Error getting destination commit: "+err.Error(), http.StatusInternalServerError) return } - params["source_commit"] = source_commit + params["destination_commit"] = destination_commit patch, err := destination_commit.Patch(source_commit) params["file_patches"] = make_usable_file_patches(patch) -- 2.48.1