X Tutup
Skip to content

Commit 337c557

Browse files
committed
Fix Git status fields to snake case
1 parent 06c06c8 commit 337c557

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/codespaces/api/api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ type CodespaceGitStatus struct {
155155
Ahead int `json:"ahead"`
156156
Behind int `json:"behind"`
157157
Ref string `json:"ref"`
158-
HasUnpushedChanges bool `json:"hasUnpushedChanges"`
159-
HasUncommitedChanges bool `json:"hasUncommitedChanges"`
158+
HasUnpushedChanges bool `json:"has_unpushed_changes"`
159+
HasUncommitedChanges bool `json:"has_uncommited_changes"`
160160
}
161161

162162
const (

0 commit comments

Comments
 (0)
X Tutup