mirror of
https://github.com/Qortal/qortal-mobile.git
synced 2025-04-29 22:37:53 +00:00
fix
This commit is contained in:
parent
ce21324e55
commit
ef6111c080
@ -1693,6 +1693,10 @@ export async function createBuyOrderTx({ crosschainAtInfo, isGateway, foreignBlo
|
|||||||
|
|
||||||
|
|
||||||
const res = await responseFetch.json();
|
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) {
|
if (res === false) {
|
||||||
responseVar = {
|
responseVar = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user