diff --git a/api/functions/graphql/types/post.js b/api/functions/graphql/types/post.js index 3beddca..ee8c10b 100644 --- a/api/functions/graphql/types/post.js +++ b/api/functions/graphql/types/post.js @@ -72,7 +72,7 @@ const Story = objectType({ t.string('cover_image'); t.nonNull.list.nonNull.field('comments', { type: "PostComment", - resolve: (parent) => prisma.story.findUnique({ where: { id: parent.id } }).comments() + resolve: (parent) => [] }); t.nonNull.list.nonNull.field('tags', { type: "Tag", diff --git a/environments/.dev.prod-server.env b/environments/.dev.prod-server.env index 65016b7..8d3f82e 100644 --- a/environments/.dev.prod-server.env +++ b/environments/.dev.prod-server.env @@ -1 +1 @@ -REACT_APP_API_END_POINT = https://makers.bolt.fu/.netlify/functions \ No newline at end of file +REACT_APP_API_END_POINT = https://makers.bolt.fun/.netlify/functions \ No newline at end of file