From 2099bac9bffacd9ed09c139bfd08c86272b1cc9d Mon Sep 17 00:00:00 2001 From: John Wiseman Date: Wed, 1 Jan 2020 21:08:57 -0800 Subject: [PATCH] Fixed bug in attempt to use sqb registration info. --- src/main/lemondronor/circlebot.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/lemondronor/circlebot.cljs b/src/main/lemondronor/circlebot.cljs index d18ee96..c378344 100644 --- a/src/main/lemondronor/circlebot.cljs +++ b/src/main/lemondronor/circlebot.cljs @@ -315,7 +315,7 @@ info (cond-> (-> ac (dissoc :history :type) (merge rev-props)) (:Type sqb) (assoc :type (:Type sqb)) - (as-> rec (and (nil? (:registration rec)) (:Registration sqb))) + (and (nil? (:registration ac)) (:Registration sqb)) (assoc :registration (:Registration sqb)) (:military? ac) (-> (assoc :militaryregistration (:registration ac)