From 100119a75ba4a7d40aa3a42c20ae5215b146e6f2 Mon Sep 17 00:00:00 2001 From: Nikola Bjelo Date: Sun, 4 Nov 2018 16:02:31 +0100 Subject: [PATCH] Adding Rules to Event input types --- server/src/schema/types/input/Event.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/schema/types/input/Event.js b/server/src/schema/types/input/Event.js index 54c8e0865..fba283123 100644 --- a/server/src/schema/types/input/Event.js +++ b/server/src/schema/types/input/Event.js @@ -8,6 +8,7 @@ import InputFormulaType from './Formula'; import InputPlotterType from './Plotter'; import InputPrizeType from './Prize'; import InputParticipantType from './Participant'; +import InputRuleType from './Rule'; const Type = new GraphQLInputObjectType({ name: 'EventInput', @@ -23,6 +24,7 @@ const Type = new GraphQLInputObjectType({ plotter: { type: InputPlotterType }, prizes: { type: new GraphQLList(InputPrizeType) }, participants: { type: new GraphQLList(InputParticipantType) }, + rules: { type: new GraphQLList(InputRuleType) }, }), });