Skip to content

Commit

Permalink
Update packages/core/src/exchanges/ssr.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Phil Pluckthun <[email protected]>
  • Loading branch information
JoviDeCroock and kitten authored Nov 18, 2020
1 parent 1e03c0b commit daa4ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/exchanges/ssr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const serializeResult = ({
}: OperationResult): SerializedResult => {
const result: SerializedResult = {};

if (data) {
if (data !== undefined) {
result.data = JSON.stringify(data);
}

Expand Down

0 comments on commit daa4ba9

Please sign in to comment.