mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
fix: update WorkspaceOwnerName to use user.name instead of user.username (#18025)
We have been using the user.username instead of user.name in wrong places, making it very confusing for the UI.
This commit is contained in:
@ -1095,7 +1095,8 @@ func (api *API) convertWorkspaceBuild(
|
||||
CreatedAt: build.CreatedAt,
|
||||
UpdatedAt: build.UpdatedAt,
|
||||
WorkspaceOwnerID: workspace.OwnerID,
|
||||
WorkspaceOwnerName: workspace.OwnerUsername,
|
||||
WorkspaceOwnerName: workspace.OwnerName,
|
||||
WorkspaceOwnerUsername: workspace.OwnerUsername,
|
||||
WorkspaceOwnerAvatarURL: workspace.OwnerAvatarUrl,
|
||||
WorkspaceID: build.WorkspaceID,
|
||||
WorkspaceName: workspace.Name,
|
||||
|
Reference in New Issue
Block a user