From 3b7e8dbd9651ab47e619469a1707bf892ab020fb Mon Sep 17 00:00:00 2001 From: Alex Patterson Date: Wed, 21 Oct 2026 13:34:05 -0400 Subject: [PATCH] fix(site): resolve astro check diagnostics on guest portal page --- apps/site/src/pages/guest-portal/[token].astro | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/site/src/pages/guest-portal/[token].astro b/apps/site/src/pages/guest-portal/[token].astro index ebc9ab7a..9cc89c77 100644 --- a/apps/site/src/pages/guest-portal/[token].astro +++ b/apps/site/src/pages/guest-portal/[token].astro @@ -155,9 +155,9 @@ const socialFields = [ >
@@ -383,7 +383,7 @@ const socialFields = [ socials, }), }); - const data = await res.json(); + const data = (await res.json()) as { error?: string }; if (!res.ok) { throw new Error(data.error || "Failed to update profile"); }