From 40a1e3871d8666d5ca846ab8a176b7099e29ae9f Mon Sep 17 00:00:00 2001 From: Jacobo Vidal Date: Mon, 10 Aug 2026 13:42:14 +0200 Subject: [PATCH 1/3] fix(up): rename portal pages property from content to standard The portals API changed the pages content array key from "content" to "standard". Co-Authored-By: Claude Sonnet 4.6 (1M context) --- internal/cli/universal_portals.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cli/universal_portals.go b/internal/cli/universal_portals.go index f5dc47e3a..57595c07a 100644 --- a/internal/cli/universal_portals.go +++ b/internal/cli/universal_portals.go @@ -851,7 +851,7 @@ type portalSidebar struct { type portalPages struct { Default string `json:"default,omitempty"` - Content []portalPage `json:"content"` + Content []portalPage `json:"standard"` } type portalPage struct { From 23aa2477e1f7a8e8c2ff7859590ee7451ce6c7f1 Mon Sep 17 00:00:00 2001 From: Jacobo Vidal Date: Mon, 10 Aug 2026 13:56:23 +0200 Subject: [PATCH 2/3] fix(up): rename portalPages.Content field to Standard Co-Authored-By: Claude Sonnet 4.6 (1M context) --- internal/cli/universal_portals.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/cli/universal_portals.go b/internal/cli/universal_portals.go index 57595c07a..c3e5addc7 100644 --- a/internal/cli/universal_portals.go +++ b/internal/cli/universal_portals.go @@ -851,7 +851,7 @@ type portalSidebar struct { type portalPages struct { Default string `json:"default,omitempty"` - Content []portalPage `json:"standard"` + Standard []portalPage `json:"standard"` } type portalPage struct { @@ -957,7 +957,7 @@ func buildDefaultPortal(slug, name, clientID, clientSecret string, forms portalF }, Pages: &portalPages{ Default: "profile", - Content: []portalPage{ + Standard: []portalPage{ { Title: "Profile", Slug: "profile", From 4714a0590a97ada25d751b2e173d8e3bfab59322 Mon Sep 17 00:00:00 2001 From: Jacobo Vidal Date: Mon, 10 Aug 2026 15:17:11 +0200 Subject: [PATCH 3/3] fix(up): apply gofmt after field rename Co-Authored-By: Claude Sonnet 4.6 (1M context) --- internal/cli/universal_portals.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cli/universal_portals.go b/internal/cli/universal_portals.go index c3e5addc7..f4c3ecfa4 100644 --- a/internal/cli/universal_portals.go +++ b/internal/cli/universal_portals.go @@ -850,7 +850,7 @@ type portalSidebar struct { } type portalPages struct { - Default string `json:"default,omitempty"` + Default string `json:"default,omitempty"` Standard []portalPage `json:"standard"` }