diff --git a/packages/qwik-city/src/runtime/src/server-functions.ts b/packages/qwik-city/src/runtime/src/server-functions.ts index b5db0304ca8..cef5bc15198 100644 --- a/packages/qwik-city/src/runtime/src/server-functions.ts +++ b/packages/qwik-city/src/runtime/src/server-functions.ts @@ -406,7 +406,7 @@ export const serverQrl = ( })(); } else if (contentType === 'application/qwik-json') { const str = await res.text(); - const obj = _deserialize(str, ctxElm ?? document.documentElement); + const [obj] = _deserialize(str, ctxElm ?? document.documentElement); if (res.status === 500) { throw obj; }