From 1e6bba40f7e5947ddeb65b90773f52cb6fdaa001 Mon Sep 17 00:00:00 2001 From: Ammar Ekbote Date: Thu, 10 Aug 2023 06:44:16 +0000 Subject: [PATCH] fix: omit private key id if empty --- api/cloud_accounts_gcp_sidekick.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/cloud_accounts_gcp_sidekick.go b/api/cloud_accounts_gcp_sidekick.go index e46950ac0..fa5cd93ab 100644 --- a/api/cloud_accounts_gcp_sidekick.go +++ b/api/cloud_accounts_gcp_sidekick.go @@ -88,7 +88,7 @@ type GcpSidekickData struct { type GcpSidekickCredentials struct { ClientID string `json:"clientId"` ClientEmail string `json:"clientEmail"` - PrivateKeyID string `json:"privateKeyId"` + PrivateKeyID string `json:"privateKeyId,omitempty"` PrivateKey string `json:"privateKey,omitempty"` TokenUri string `json:"tokenUri,omitempty"` }