From f4bd0370c6e249f9d5c17395659210d43533e42c Mon Sep 17 00:00:00 2001 From: Daniel Ponte Date: Fri, 14 Feb 2025 00:29:22 -0500 Subject: [PATCH] lint --- pkg/shares/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/shares/store.go b/pkg/shares/store.go index d0f1313..f44c524 100644 --- a/pkg/shares/store.go +++ b/pkg/shares/store.go @@ -112,7 +112,7 @@ func (s *postgresStore) Shares(ctx context.Context, p SharesParams) (shares []*S sub := entities.SubjectFrom(ctx) // ersatz RBAC - owner := common.PtrTo(int32(-1)) // invalid UID + var owner *int32 switch s := sub.(type) { case *users.User: if !s.IsAdmin {