Fix always true rules
This commit is contained in:
parent
b188230284
commit
46db76253a
@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
(defn rule-body [rule]
|
(defn rule-body [rule]
|
||||||
"Selects the rule's body"
|
"Selects the rule's body"
|
||||||
(or (second rule) :always-true))
|
(or (second rule) [:always-true]))
|
||||||
|
|
||||||
(defn apply-a-rule [db rule query frame]
|
(defn apply-a-rule [db rule query frame]
|
||||||
"Applies the `rule` to the `query` in the
|
"Applies the `rule` to the `query` in the
|
||||||
|
Loading…
Reference in New Issue
Block a user