From 23f4724f99c1fe681865c88a36ff28b14c0278f9 Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Tue, 22 Aug 2017 13:18:48 -0600 Subject: [PATCH 1/2] fixed template bug --- routes/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/index.js b/routes/index.js index dafaf09b9..6a8920dc3 100644 --- a/routes/index.js +++ b/routes/index.js @@ -89,7 +89,7 @@ if (process.env.NODE_ENV !== 'production') { // Interactive graphiql interface. router.use('/api/v1/graph/iql', (req, res) => { res.render('graphiql', { - endpointURL: `${req.locals.BASE_URL}api/v1/graph/ql` + endpointURL: `${req.app.locals.BASE_URL}api/v1/graph/ql` }); }); From 5eafb672ef094a0a4746a0a7c8c511986266c16d Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Wed, 23 Aug 2017 16:50:07 +0700 Subject: [PATCH 2/2] Add missing fragment field to Comment --- client/coral-embed-stream/src/containers/Comment.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/coral-embed-stream/src/containers/Comment.js b/client/coral-embed-stream/src/containers/Comment.js index 005a24ae1..8e592d28e 100644 --- a/client/coral-embed-stream/src/containers/Comment.js +++ b/client/coral-embed-stream/src/containers/Comment.js @@ -96,6 +96,7 @@ const withCommentFragments = withFragments({ asset: gql` fragment CoralEmbedStream_Comment_asset on Asset { __typename + id ${getSlotFragmentSpreads(slots, 'asset')} } `,