Skip to content

Commit

Permalink
fix server function e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
Varixo committed Aug 29, 2024
1 parent b295b83 commit dfe11e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/qwik-city/src/runtime/src/server-functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ export const serverQrl = <T extends ServerFunction>(
})();
} 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;
}
Expand Down

0 comments on commit dfe11e0

Please sign in to comment.