chore: update public default value to false

This commit is contained in:
Steven
2024-07-24 23:34:19 +08:00
parent 22ec0cf2e3
commit 553e8d09dd
2 changed files with 7 additions and 3 deletions

View File

@@ -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
}