fix inviteToGroup error message

This commit is contained in:
PhilReact 2025-06-17 14:48:27 +03:00
parent 73f3825a97
commit 99a772452e

View File

@ -2521,7 +2521,7 @@ export async function inviteToGroup({ groupId, qortalAddress, inviteTime }) {
const res = await processTransactionVersion2(signedBytes);
if (!res?.signature)
throw new Error('Transaction was not able to be processed');
throw new Error(res?.message || 'Transaction was not able to be processed');
return res;
}