From efa6f33b4c67f64a4a8d8cd723b9bbc9494fc735 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 5 Apr 2025 21:47:44 +0800 Subject: Unexport fields in Server --- acl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'acl.go') diff --git a/acl.go b/acl.go index c4bf29f..aaf190b 100644 --- a/acl.go +++ b/acl.go @@ -14,7 +14,7 @@ import ( // // TODO: Revamp. func (s *Server) getRepoInfo(ctx context.Context, groupPath []string, repoName, sshPubkey string) (repoID int, fsPath string, access bool, contribReq, userType string, userID int, err error) { - err = s.Database.QueryRow(ctx, ` + err = s.database.QueryRow(ctx, ` WITH RECURSIVE group_path_cte AS ( -- Start: match the first name in the path where parent_group IS NULL SELECT -- cgit v1.2.3