Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: fix linter

Steven8f37d7490c74
diff --git a/server/route/api/v2/workspace_service.go b/server/route/api/v2/workspace_service.go
index 468e93a8e..974118ff5 100644
--- a/server/route/api/v2/workspace_service.go
+++ b/server/route/api/v2/workspace_service.go
@@ -10,7 +10,7 @@ import (
"google.golang.org/grpc/status"
)
-var owner *apiv2pb.User = nil
+var owner *apiv2pb.User
func (s *APIV2Service) GetWorkspaceProfile(ctx context.Context, _ *apiv2pb.GetWorkspaceProfileRequest) (*apiv2pb.GetWorkspaceProfileResponse, error) {
workspaceProfile := &apiv2pb.WorkspaceProfile{