From 3d40746ead346ec48feb609f9e4b2f318080fcb3 Mon Sep 17 00:00:00 2001 From: Brandon Croft Date: Thu, 1 Aug 2024 10:07:22 -0600 Subject: [PATCH] Use json encoding for vcs-repo request params --- stack.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stack.go b/stack.go index 0b547a99d..402fa306b 100644 --- a/stack.go +++ b/stack.go @@ -66,10 +66,10 @@ type StackList struct { // StackVCSRepo represents the version control system repository for a stack. type StackVCSRepo struct { - Identifier string `jsonapi:"attr,identifier"` - Branch string `jsonapi:"attr,branch"` - GHAInstallationID string `jsonapi:"attr,github-app-installation-id"` - OAuthTokenID string `jsonapi:"attr,oauth-token-id"` + Identifier string `json:"identifier"` + Branch string `json:"branch,omitempty"` + GHAInstallationID string `json:"github-app-installation-id,omitempty"` + OAuthTokenID string `json:"oauth-token-id,omitempty"` } // Stack represents a stack.