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; }