refactor: resource thumbnail

This commit is contained in:
Steven
2024-08-30 08:09:07 +08:00
parent 9b1adfbbe9
commit 20570fc771
6 changed files with 101 additions and 228 deletions

View File

@ -17,7 +17,6 @@ func (s *APIV1Service) GetWorkspaceProfile(ctx context.Context, _ *v1pb.GetWorks
Mode: s.Profile.Mode,
InstanceUrl: s.Profile.InstanceURL,
}
println("workspaceProfile: ", workspaceProfile.Mode)
owner, err := s.GetInstanceOwner(ctx)
if err != nil {
return nil, status.Errorf(codes.Internal, "failed to get instance owner: %v", err)