mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-15 11:20:36 +08:00
@@ -329,12 +329,9 @@ export class Org {
|
||||
const safes = safesByOwner.safes.reduce(
|
||||
(prev: any, curr: Safe) => prev.concat(curr.id), []);
|
||||
const orgsByOwner = await utils.querySubgraph(config.orgs.subgraph, GetOrgsByOwners, { owners: [...safes, owner] });
|
||||
const orgs: { id: string; owner: string }[] = [...orgsByOwner.orgs];
|
||||
|
||||
const orgs: any[] = [...orgsByOwner.orgs];
|
||||
|
||||
return orgs.map((o: { id: string; owner: string }) => {
|
||||
return new Org(o.id, o.owner);
|
||||
});
|
||||
return orgs.map(o => new Org(o.id, o.owner));
|
||||
}
|
||||
|
||||
static async createMultiSig(
|
||||
|
||||
Reference in New Issue
Block a user