mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-14 06:02:36 +03:00
Update README.md
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user