aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-07 08:02:44 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-07 08:02:44 +0800
commit953d8195ba55832c9d880c08ae6e062a362c14c3 (patch)
tree2d6e5cebed75659b419c8ad6c484b488f4370e85
parentscripts, sql: Reorganize (diff)
downloadforge-953d8195ba55832c9d880c08ae6e062a362c14c3.tar.gz
forge-953d8195ba55832c9d880c08ae6e062a362c14c3.tar.zst
forge-953d8195ba55832c9d880c08ae6e062a362c14c3.zip
group/index: Fix repo_desc in creation form handler
-rw-r--r--http_handle_group_index.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http_handle_group_index.go b/http_handle_group_index.go
index edb1368..911363b 100644
--- a/http_handle_group_index.go
+++ b/http_handle_group_index.go
@@ -83,7 +83,7 @@ func handle_group_index(w http.ResponseWriter, r *http.Request, params map[strin
}
repo_name := r.FormValue("repo_name")
- repo_description := r.FormValue("repo_description")
+ repo_description := r.FormValue("repo_desc")
contrib_requirements := r.FormValue("repo_contrib")
if repo_name == "" {
http.Error(w, "Repo name is required", http.StatusBadRequest)