refactor(coderd): add avatar URL to the users' latency endpoint (#8701)

This commit is contained in:
Bruno Quaresma
2023-07-25 12:15:46 +02:00
committed by GitHub
parent 7004013537
commit fbb2a6a434
10 changed files with 28 additions and 7 deletions
+1
View File
@@ -44,6 +44,7 @@ type UserLatency struct {
TemplateIDs []uuid.UUID `json:"template_ids" format:"uuid"`
UserID uuid.UUID `json:"user_id" format:"uuid"`
Username string `json:"username"`
AvatarURL string `json:"avatar_url" format:"uri"`
LatencyMS ConnectionLatency `json:"latency_ms"`
}