aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--http_handle_repo_contrib_one.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http_handle_repo_contrib_one.go b/http_handle_repo_contrib_one.go
index a09b6e8..42edd8c 100644
--- a/http_handle_repo_contrib_one.go
+++ b/http_handle_repo_contrib_one.go
@@ -47,7 +47,7 @@ func handle_repo_contrib_one(w http.ResponseWriter, r *http.Request, params map[
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)