Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix for org subgraph update
Alexis Sellier committed 4 years ago
commit d81193d901d5cb21688d10ff55c5f3e8cfd1b40b
parent f7fc65fdba1bdbc731c4e282f9869c82f51b6d94
1 file changed +2 -2
modified src/base/orgs/Org.ts
@@ -11,8 +11,8 @@ import type { Project } from '@app/project';
const GetProjects = `
  query GetProjects($org: ID!) {
    projects(where: { org: $org }) {
-
      id
      anchor {
+
        objectId
        multihash
        timestamp
      }
@@ -139,7 +139,7 @@ export class Org {
    for (const p of result.projects) {
      try {
        const proj: Project = {
-
          id: utils.formatRadicleId(ethers.utils.arrayify(p.id)),
+
          id: utils.formatRadicleId(ethers.utils.arrayify(p.anchor.objectId)),
          anchor: {
            stateHash: utils.formatProjectHash(
              ethers.utils.arrayify(p.anchor.multihash),