fix: return data property from update
This commit is contained in:
parent
474c61e759
commit
a5c01533fe
|
@ -89,5 +89,5 @@ export async function getConsensusOptimisticUpdate() {
|
||||||
throw Error(`fetching optimistic update failed`);
|
throw Error(`fetching optimistic update failed`);
|
||||||
}
|
}
|
||||||
|
|
||||||
return update;
|
return update.data;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue