mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-22 07:31:22 +00:00
Merge pull request #88 from Qortal/bugfix/get-primary-name-return
Bugfix/get primary name return
This commit is contained in:
commit
cb121103a5
@ -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;
|
||||
}
|
||||
|
||||
|
@ -1939,7 +1939,7 @@ function setupMessageListenerQortalRequest() {
|
||||
case 'GET_PRIMARY_NAME': {
|
||||
try {
|
||||
const res = await getNameInfoForOthers(request.payload?.address);
|
||||
const resData = res ? res : null;
|
||||
const resData = res ? res : '';
|
||||
event.source.postMessage(
|
||||
{
|
||||
requestId: request.requestId,
|
||||
|
Loading…
x
Reference in New Issue
Block a user