Update README.md

This commit is contained in:
Aleksandr Kraiz
2022-05-11 02:52:33 +04:00
committed by GitHub
parent 545caa77e9
commit 5c679bc670

View File

@@ -211,10 +211,9 @@ const { orderId } = await simpleFetch(orionUnit.orionAggregator.placeOrder)(
// Default ("verbose") fetch
const placeOrderFetchResult = await simpleFetch(
orionUnit.orionAggregator.placeOrder
)();
const placeOrderFetchResult = await orionUnit.orionAggregator.placeOrder(
// Same params as above
);
if (placeOrderFetchResult.isErr()) {
// You can handle fetching errors here