diff options
Diffstat (limited to 'http_handle_group_index.go')
-rw-r--r-- | http_handle_group_index.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 |