diff --git a/internal/codespaces/api/api.go b/internal/codespaces/api/api.go index 4abaac3d6..8609fab20 100644 --- a/internal/codespaces/api/api.go +++ b/internal/codespaces/api/api.go @@ -187,7 +187,7 @@ type CodespaceEnvironmentConnection struct { HostPublicKeys []string `json:"hostPublicKeys"` } -// codespacesListResponse is the request body for the `/user/codespaces` endpoint +// codespacesListResponse is the response body for the `/user/codespaces` endpoint type getCodespacesListResponse struct { Codespaces []*Codespace `json:"codespaces"` TotalCount int `json:"total_count"`