aboutsummaryrefslogtreecommitdiff
path: root/http_handle_repo_commit.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-19 12:06:54 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-19 12:06:54 +0800
commit87b1ab519c77816d1c68a691e70137bd6f1c234b (patch)
treeca4b1a6f057138aed716caecce69571915da1b2c /http_handle_repo_commit.go
parentRemove old style guide (diff)
downloadforge-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.go2
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)