Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Add `seedGit` to `getRegistration` destructuring
Sebastian Martinez committed 3 years ago
commit 7eff5995c7417dce60a20bb215959d04bbdd908e
parent a07518c32765773a4e48238b0902df736c29c5f2
1 file changed +13 -2
modified src/lib/registrar.ts
@@ -90,8 +90,18 @@ export async function getRegistration(
    getText(resolver, "com.github"),
  ]);

-
  const [address, avatar, url, id, seedId, seedHost, seedApi, twitter, github] =
-
    meta.filter(isFulfilled).map(r => (r.value ? r.value : undefined));
+
  const [
+
    address,
+
    avatar,
+
    url,
+
    id,
+
    seedId,
+
    seedHost,
+
    seedGit,
+
    seedApi,
+
    twitter,
+
    github,
+
  ] = meta.filter(isFulfilled).map(r => (r.value ? r.value : undefined));

  const profile: EnsProfile = {
    name,
@@ -109,6 +119,7 @@ export async function getRegistration(
      profile.seed = new Seed({
        host: seedHost,
        id: seedId,
+
        git: seedGit,
        addr: seedApi,
      });
    } catch (e: any) {