diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-19 12:06:54 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-19 12:06:54 +0800 |
commit | 87b1ab519c77816d1c68a691e70137bd6f1c234b (patch) | |
tree | ca4b1a6f057138aed716caecce69571915da1b2c /http_handle_repo_commit.go | |
parent | Remove old style guide (diff) | |
download | forge-87b1ab519c77816d1c68a691e70137bd6f1c234b.tar.gz forge-87b1ab519c77816d1c68a691e70137bd6f1c234b.tar.zst forge-87b1ab519c77816d1c68a691e70137bd6f1c234b.zip |
Remove underscores from Go code, pt 5
Diffstat (limited to 'http_handle_repo_commit.go')
-rw-r--r-- | http_handle_repo_commit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http_handle_repo_commit.go b/http_handle_repo_commit.go index f6ef4c1..2f0fa51 100644 --- a/http_handle_repo_commit.go +++ b/http_handle_repo_commit.go @@ -71,7 +71,7 @@ func httpHandleRepoCommit(w http.ResponseWriter, r *http.Request, params map[str http.Error(w, "Error getting patch from commit: "+err.Error(), http.StatusInternalServerError) return } - params["parent_commit_hash"] = parentCommitHash.String() + params["parent_commitHash"] = parentCommitHash.String() params["patch"] = patch params["file_patches"] = makeUsableFilePatches(patch) |