diff options
author | Runxi Yu <me@runxiyu.org> | 2025-04-05 21:47:44 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-04-05 21:47:44 +0800 |
commit | efa6f33b4c67f64a4a8d8cd723b9bbc9494fc735 (patch) | |
tree | c4075c78bc4126d764f91ec68931c34281913dcc /http_handle_repo_contrib_index.go | |
parent | Add missing copyright headers (diff) | |
download | forge-3e835507e804c2fc51773a5efe784663a055e56a.tar.gz forge-3e835507e804c2fc51773a5efe784663a055e56a.tar.zst forge-3e835507e804c2fc51773a5efe784663a055e56a.zip |
Unexport fields in Serverv0.1.24
Diffstat (limited to 'http_handle_repo_contrib_index.go')
-rw-r--r-- | http_handle_repo_contrib_index.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http_handle_repo_contrib_index.go b/http_handle_repo_contrib_index.go index f729cbe..a4b1eac 100644 --- a/http_handle_repo_contrib_index.go +++ b/http_handle_repo_contrib_index.go @@ -23,7 +23,7 @@ func (s *Server) httpHandleRepoContribIndex(writer http.ResponseWriter, request var result []idTitleStatus var err error - if rows, err = s.Database.Query(request.Context(), + if rows, err = s.database.Query(request.Context(), "SELECT repo_local_id, COALESCE(title, 'Untitled'), status FROM merge_requests WHERE repo_id = $1", params["repo_id"], ); err != nil { |