fix: temp attempt to fix broken posts

This commit is contained in:
MTG2000
2022-07-20 19:00:00 +03:00
parent 0fea4a9fd8
commit 99eb7e507b
2 changed files with 2 additions and 2 deletions

View File

@@ -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",

View File

@@ -1 +1 @@
REACT_APP_API_END_POINT = https://makers.bolt.fu/.netlify/functions
REACT_APP_API_END_POINT = https://makers.bolt.fun/.netlify/functions