fix send_coin return for qort

This commit is contained in:
PhilReact 2025-04-06 08:06:48 +03:00
parent 299377af72
commit 5b78bc4fb2

View File

@ -2688,7 +2688,7 @@ export const sendCoin = async (data, isFromExtension) => {
if (accepted) { if (accepted) {
const makePayment = await sendCoinFunc({amount, password: null, receiver: recipient }, true) const makePayment = await sendCoinFunc({amount, password: null, receiver: recipient }, true)
return makePayment.res return makePayment.res?.data
} else { } else {
throw new Error("User declined request") throw new Error("User declined request")
} }