mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08: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:
Generated
+12
-6
@@ -279,7 +279,8 @@ of the template will be used.
|
||||
"workspace_name": "string",
|
||||
"workspace_owner_avatar_url": "string",
|
||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||
"workspace_owner_name": "string"
|
||||
"workspace_owner_name": "string",
|
||||
"workspace_owner_username": "string"
|
||||
},
|
||||
"name": "string",
|
||||
"next_start_at": "2019-08-24T14:15:22Z",
|
||||
@@ -562,7 +563,8 @@ curl -X GET http://coder-server:8080/api/v2/users/{user}/workspace/{workspacenam
|
||||
"workspace_name": "string",
|
||||
"workspace_owner_avatar_url": "string",
|
||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||
"workspace_owner_name": "string"
|
||||
"workspace_owner_name": "string",
|
||||
"workspace_owner_username": "string"
|
||||
},
|
||||
"name": "string",
|
||||
"next_start_at": "2019-08-24T14:15:22Z",
|
||||
@@ -871,7 +873,8 @@ of the template will be used.
|
||||
"workspace_name": "string",
|
||||
"workspace_owner_avatar_url": "string",
|
||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||
"workspace_owner_name": "string"
|
||||
"workspace_owner_name": "string",
|
||||
"workspace_owner_username": "string"
|
||||
},
|
||||
"name": "string",
|
||||
"next_start_at": "2019-08-24T14:15:22Z",
|
||||
@@ -1140,7 +1143,8 @@ curl -X GET http://coder-server:8080/api/v2/workspaces \
|
||||
"workspace_name": "string",
|
||||
"workspace_owner_avatar_url": "string",
|
||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||
"workspace_owner_name": "string"
|
||||
"workspace_owner_name": "string",
|
||||
"workspace_owner_username": "string"
|
||||
},
|
||||
"name": "string",
|
||||
"next_start_at": "2019-08-24T14:15:22Z",
|
||||
@@ -1424,7 +1428,8 @@ curl -X GET http://coder-server:8080/api/v2/workspaces/{workspace} \
|
||||
"workspace_name": "string",
|
||||
"workspace_owner_avatar_url": "string",
|
||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||
"workspace_owner_name": "string"
|
||||
"workspace_owner_name": "string",
|
||||
"workspace_owner_username": "string"
|
||||
},
|
||||
"name": "string",
|
||||
"next_start_at": "2019-08-24T14:15:22Z",
|
||||
@@ -1823,7 +1828,8 @@ curl -X PUT http://coder-server:8080/api/v2/workspaces/{workspace}/dormant \
|
||||
"workspace_name": "string",
|
||||
"workspace_owner_avatar_url": "string",
|
||||
"workspace_owner_id": "e7078695-5279-4c86-8774-3ac2367a2fc7",
|
||||
"workspace_owner_name": "string"
|
||||
"workspace_owner_name": "string",
|
||||
"workspace_owner_username": "string"
|
||||
},
|
||||
"name": "string",
|
||||
"next_start_at": "2019-08-24T14:15:22Z",
|
||||
|
||||
Reference in New Issue
Block a user