From 5c679bc670e0b100dac55130dea9f606c5469d83 Mon Sep 17 00:00:00 2001 From: Aleksandr Kraiz Date: Wed, 11 May 2022 02:52:33 +0400 Subject: [PATCH] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cf87cae..5b89145 100644 --- a/README.md +++ b/README.md @@ -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