Saving formulaId as formulaIf instead of Formula in the Db

same for the plotters
This commit is contained in:
Nikola Bjelo committed 2018-11-03 16:31:11 +01:00
1 parent f4cf5884f5
commit 3a46009042
2 files changed
+12 -8

No files matched your search

+2 -2
View File
@@ -26,13 +26,13 @@ const EventType = new GraphQLObjectType({
formula: {
type: FormulaType,
resolve(parent) {
return parent.formula;
return parent.formulaId;
},
},
plotter: {
type: PlotterType,
resolve(parent) {
return parent.plotter;
return parent.plotterId;
},
},
rules: {