mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-04-24 20:07:51 +00:00
fix
This commit is contained in:
parent
3d68cbf556
commit
277bc3f9b7
@ -1818,8 +1818,11 @@ export async function createBuyOrderTx({ crosschainAtInfo, isGateway, foreignBlo
|
||||
}
|
||||
);
|
||||
|
||||
if(!responseFetch?.ok) throw new Error('Failed to submit buy order')
|
||||
const res = await responseFetch.json();
|
||||
if(res?.error && res?.message){
|
||||
throw new Error(res?.message)
|
||||
}
|
||||
if(!responseFetch?.ok) throw new Error('Failed to submit buy order')
|
||||
|
||||
if (res === false) {
|
||||
responseVar = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user