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 {