Update internal/codespaces/api/api.go

Co-authored-by: Jose Garcia <josebalius@github.com>
This commit is contained in:
Gabriel Ramírez 2021-10-06 09:03:49 -05:00 committed by GitHub
parent aa49a3a557
commit 237fdd40c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"`