mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update public default value to false
This commit is contained in:
@@ -23,6 +23,9 @@ func (s *APIV1Service) GetWorkspaceProfile(ctx context.Context, _ *v1pb.GetWorks
|
||||
}
|
||||
if owner != nil {
|
||||
workspaceProfile.Owner = owner.Name
|
||||
} else {
|
||||
// If owner is not found, set public to true.
|
||||
workspaceProfile.Public = true
|
||||
}
|
||||
return workspaceProfile, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user