Fix missing json instruction
This commit is contained in:
@ -86,9 +86,9 @@ func (service *Service) EvaluateConditions() *Result {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ConditionResult struct {
|
type ConditionResult struct {
|
||||||
Condition *Condition
|
Condition *Condition `json:"condition"`
|
||||||
Success bool
|
Success bool `json:"success"`
|
||||||
Explanation string
|
Explanation string `json:"explanation"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Condition string
|
type Condition string
|
||||||
|
Reference in New Issue
Block a user