From ea0b193d5c5aae1d5dfab6552c6b9609ea558ed3 Mon Sep 17 00:00:00 2001 From: serafettin Date: Thu, 25 Jan 2024 17:02:54 +0100 Subject: [PATCH] Update index.js --- api/src/services/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/services/index.js b/api/src/services/index.js index 936455ed..0712cf98 100644 --- a/api/src/services/index.js +++ b/api/src/services/index.js @@ -76,7 +76,7 @@ export class IndexService { const index = data.node; if(index.did && index.did.edges && index.did.edges.length > 0){ - const did = {}; + const did = { isStarred: false, isOwnerVisible: false }; index.did.edges.forEach((edge) => { if(edge.node.type === "owner"){ did.isOwnerVisible = edge.node.deletedAt === null;