From feaec4da65346e25f5009b017f49f44c000a19e2 Mon Sep 17 00:00:00 2001 From: "planetscale-cli[bot]" <272331943+planetscale-cli[bot]@users.noreply.github.com> Date: Thu, 9 Jul 2026 20:27:57 +0000 Subject: [PATCH] Sync API client from planetscale/cli@5838b9c --- planetscale/postgres_branches.go | 14 +++++++------- planetscale/webhooks.go | 1 - planetscale/webhooks_test.go | 1 - 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/planetscale/postgres_branches.go b/planetscale/postgres_branches.go index 5748cfb..653ba59 100644 --- a/planetscale/postgres_branches.go +++ b/planetscale/postgres_branches.go @@ -35,13 +35,13 @@ type postgresBranchesResponse struct { // CreatePostgresBranchRequest encapsulates the request to create a Postgres branch. type CreatePostgresBranchRequest struct { - Organization string `json:"-"` - Database string `json:"-"` - Region string `json:"region,omitempty"` - Name string `json:"name"` - ParentBranch string `json:"parent_branch"` - BackupID string `json:"backup_id,omitempty"` - ClusterName string `json:"cluster_name,omitempty"` + Organization string `json:"-"` + Database string `json:"-"` + Region string `json:"region,omitempty"` + Name string `json:"name"` + ParentBranch string `json:"parent_branch"` + BackupID string `json:"backup_id,omitempty"` + ClusterName string `json:"cluster_name,omitempty"` MajorVersion string `json:"major_version,omitempty"` Storage *StorageConfig `json:"storage,omitempty"` } diff --git a/planetscale/webhooks.go b/planetscale/webhooks.go index 4a6c5f7..3e25301 100644 --- a/planetscale/webhooks.go +++ b/planetscale/webhooks.go @@ -175,4 +175,3 @@ func webhookAPIPath(org, db, id string) string { func webhookTestAPIPath(org, db, id string) string { return path.Join(webhookAPIPath(org, db, id), "test") } - diff --git a/planetscale/webhooks_test.go b/planetscale/webhooks_test.go index 53a9ec9..8b73c5a 100644 --- a/planetscale/webhooks_test.go +++ b/planetscale/webhooks_test.go @@ -285,4 +285,3 @@ func TestWebhooks_Test(t *testing.T) { c.Assert(err, qt.IsNil) } -