From ac956e5521b4ad1cce1f978cc1aef51e6aeb9480 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 13 Feb 2025 10:29:57 +0800 Subject: index: Reformat the page --- http_handle_group_index.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'http_handle_group_index.go') diff --git a/http_handle_group_index.go b/http_handle_group_index.go index 834c0da..c694914 100644 --- a/http_handle_group_index.go +++ b/http_handle_group_index.go @@ -9,8 +9,8 @@ func handle_group_repos(w http.ResponseWriter, r *http.Request, params map[strin names, err := query_list[string](r.Context(), "SELECT r.name FROM repos r JOIN groups g ON r.group_id = g.id WHERE g.name = $1;", group_name) if err != nil { - http.Error(w, "Error getting groups:: "+err.Error(), http.StatusInternalServerError) - return + http.Error(w, "Error getting groups:: "+err.Error(), http.StatusInternalServerError) + return } params["repos"] = names -- cgit v1.2.3