aboutsummaryrefslogtreecommitdiff
path: root/http_handle_repo_upload_pack.go
diff options
context:
space:
mode:
Diffstat (limited to 'http_handle_repo_upload_pack.go')
-rw-r--r--http_handle_repo_upload_pack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http_handle_repo_upload_pack.go b/http_handle_repo_upload_pack.go
index 3d9170c..a6580a7 100644
--- a/http_handle_repo_upload_pack.go
+++ b/http_handle_repo_upload_pack.go
@@ -24,7 +24,7 @@ func (s *server) httpHandleUploadPack(writer http.ResponseWriter, request *http.
groupPath, repoName = params["group_path"].([]string), params["repo_name"].(string)
- if err := database.QueryRow(request.Context(), `
+ if err := s.database.QueryRow(request.Context(), `
WITH RECURSIVE group_path_cte AS (
-- Start: match the first name in the path where parent_group IS NULL
SELECT