From 33d274386a3acd88ef4df7d80f54399b35c28ea8 Mon Sep 17 00:00:00 2001 From: David Jay Date: Tue, 24 Jan 2017 12:24:30 -0500 Subject: [PATCH] Re-adding display of comment date. --- .../coral-embed-stream/src/graphql/queries/streamQuery.graphql | 1 + graph/typeDefs.js | 3 +++ 2 files changed, 4 insertions(+) diff --git a/client/coral-embed-stream/src/graphql/queries/streamQuery.graphql b/client/coral-embed-stream/src/graphql/queries/streamQuery.graphql index 8bd57bcb7..0e067c0b2 100644 --- a/client/coral-embed-stream/src/graphql/queries/streamQuery.graphql +++ b/client/coral-embed-stream/src/graphql/queries/streamQuery.graphql @@ -2,6 +2,7 @@ fragment commentView on Comment { id body + created_at user { id name: displayName diff --git a/graph/typeDefs.js b/graph/typeDefs.js index 75deee196..3d484d976 100644 --- a/graph/typeDefs.js +++ b/graph/typeDefs.js @@ -61,6 +61,9 @@ type Comment { # the current status of a comment. status: COMMENT_STATUS + + # the time when the comment was created + created_at: String! } enum ITEM_TYPE {