From 1f177902e6decd30286795c437d9784a10be1160 Mon Sep 17 00:00:00 2001 From: TwinProduction Date: Fri, 10 Apr 2020 16:37:52 -0400 Subject: [PATCH] Remove Explanation field from ConditionResult --- core/types.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/types.go b/core/types.go index 32dac9b9..d76f67eb 100644 --- a/core/types.go +++ b/core/types.go @@ -92,9 +92,8 @@ func (service *Service) EvaluateConditions() *Result { } type ConditionResult struct { - Condition *Condition `json:"condition"` - Success bool `json:"success"` - Explanation string `json:"-"` + Condition *Condition `json:"condition"` + Success bool `json:"success"` } type Condition string