From 6d4bb59206c654e5036cf26246b5c053eb8a9723 Mon Sep 17 00:00:00 2001 From: Nicolas Charpentier Date: Thu, 1 May 2025 15:14:48 -0400 Subject: [PATCH] docs: fix custom mutator `server` object --- contents/docs/custom-mutators.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contents/docs/custom-mutators.mdx b/contents/docs/custom-mutators.mdx index 90dbed4..8d36067 100644 --- a/contents/docs/custom-mutators.mdx +++ b/contents/docs/custom-mutators.mdx @@ -271,7 +271,7 @@ You can get the server result of a mutation with the `server` property of a muta const { server } = await zero.mutate.issue.update({ id: 'issue-123', title: 'New title', -}).server; +}); if (server.error) { console.error('Server mutation went boom', server.error);