mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 02:00:31 +08:00
Parallelize requests in Org::get
Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
@@ -209,8 +209,10 @@ export class Org {
|
||||
);
|
||||
|
||||
try {
|
||||
const owner = await org.owner();
|
||||
const resolved = await org.resolvedAddress;
|
||||
const [owner, resolved] = await Promise.all([
|
||||
org.owner(),
|
||||
org.resolvedAddress,
|
||||
]);
|
||||
|
||||
// If what is resolved is not the same as the input, it's because we
|
||||
// were given a name.
|
||||
|
||||
Reference in New Issue
Block a user