mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
refactor(coderd): add avatar URL to the users' latency endpoint (#8701)
This commit is contained in:
@@ -117,6 +117,7 @@ func (api *API) insightsUserLatency(rw http.ResponseWriter, r *http.Request) {
|
||||
TemplateIDs: row.TemplateIDs,
|
||||
UserID: row.UserID,
|
||||
Username: row.Username,
|
||||
AvatarURL: row.AvatarURL.String,
|
||||
LatencyMS: codersdk.ConnectionLatency{
|
||||
P50: row.WorkspaceConnectionLatency50,
|
||||
P95: row.WorkspaceConnectionLatency95,
|
||||
|
||||
Reference in New Issue
Block a user