mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-23 04:36:52 +00:00
optimizations
This commit is contained in:
@@ -51,11 +51,11 @@ export const CreateCommonSecret = ({groupId, secretKey, isOwner, myAddress, sec
|
||||
|
||||
|
||||
|
||||
const groupAdmins = await getGroupAdimns(groupId);
|
||||
if(!groupAdmins.length){
|
||||
const {names} = await getGroupAdimns(groupId);
|
||||
if(!names.length){
|
||||
throw new Error('Network error')
|
||||
}
|
||||
const publish = await getPublishesFromAdmins(groupAdmins);
|
||||
const publish = await getPublishesFromAdmins(names);
|
||||
|
||||
|
||||
if (publish === false) {
|
||||
|
Reference in New Issue
Block a user