From 500057ff24efd1379683b9d3abfb1d70ff686fae Mon Sep 17 00:00:00 2001 From: Lucas dos Santos Abreu Date: Wed, 27 Jun 2018 13:43:51 -0300 Subject: [PATCH] needQuery --- server/graphql/types.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/graphql/types.go b/server/graphql/types.go index 6c14dc19..a6ffecbe 100644 --- a/server/graphql/types.go +++ b/server/graphql/types.go @@ -156,6 +156,12 @@ var ( "status": &graphql.Field{ Type: needStatusEnum, }, + "createdAt": &graphql.Field{ + Type: graphql.NewNonNull(DateTime), + }, + "updatedAt": &graphql.Field{ + Type: DateTime, + }, }, })