From d995cdde07f3983620fe41f7bc0438a5b2a0b14b Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Fri, 19 May 2017 02:01:47 +0700 Subject: [PATCH] Make email message required --- graph/typeDefs.graphql | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/graph/typeDefs.graphql b/graph/typeDefs.graphql index 9ea0d6c1a..8297ae7db 100644 --- a/graph/typeDefs.graphql +++ b/graph/typeDefs.graphql @@ -677,8 +677,7 @@ input SuspendUserInput { id: ID! # message to be sent to the user. - # TODO: should this be required? - message: String + message: String! # If set, the suspension lasts at least until specified date. until: Date @@ -691,8 +690,7 @@ input RejectUsernameInput { id: ID! # message to be sent to the user. - # TODO: should this be required? - message: String + message: String! } # DeleteActionResponse is the response returned with possibly some errors