mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
chore: make owner_name and owner_username consistent (#18081)
We've been using owner_name inconsistently as username. So this PR fixes it by making the attribute naming more consistent.
This commit is contained in:
@ -2248,7 +2248,8 @@ func convertWorkspace(
|
||||
CreatedAt: workspace.CreatedAt,
|
||||
UpdatedAt: workspace.UpdatedAt,
|
||||
OwnerID: workspace.OwnerID,
|
||||
OwnerName: workspace.OwnerUsername,
|
||||
OwnerName: workspace.OwnerName,
|
||||
OwnerUsername: workspace.OwnerUsername,
|
||||
OwnerAvatarURL: workspace.OwnerAvatarUrl,
|
||||
OrganizationID: workspace.OrganizationID,
|
||||
OrganizationName: workspace.OrganizationName,
|
||||
|
Reference in New Issue
Block a user