optimizations

This commit is contained in:
2024-09-12 18:12:56 +03:00
parent f032016b83
commit 5327c79543
4 changed files with 226 additions and 54 deletions

View File

@@ -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) {