From a5c01533fe81f12b0651c6e039bb9f29b7c0ec93 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 11 Jul 2023 02:32:41 -0400 Subject: [PATCH] fix: return data property from update --- src/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.ts b/src/util.ts index bc014da..d15b10e 100644 --- a/src/util.ts +++ b/src/util.ts @@ -89,5 +89,5 @@ export async function getConsensusOptimisticUpdate() { throw Error(`fetching optimistic update failed`); } - return update; + return update.data; }