From 337c5576389af50f143316f82b4bdde2639a2385 Mon Sep 17 00:00:00 2001 From: Jose Garcia Date: Mon, 18 Oct 2021 09:22:08 -0400 Subject: [PATCH] Fix Git status fields to snake case --- internal/codespaces/api/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/codespaces/api/api.go b/internal/codespaces/api/api.go index 884e353f5..bf3f204ee 100644 --- a/internal/codespaces/api/api.go +++ b/internal/codespaces/api/api.go @@ -155,8 +155,8 @@ type CodespaceGitStatus struct { Ahead int `json:"ahead"` Behind int `json:"behind"` Ref string `json:"ref"` - HasUnpushedChanges bool `json:"hasUnpushedChanges"` - HasUncommitedChanges bool `json:"hasUncommitedChanges"` + HasUnpushedChanges bool `json:"has_unpushed_changes"` + HasUncommitedChanges bool `json:"has_uncommited_changes"` } const (