From aa3b8c5093c0a31c2deb966067854e8f8eb98fc9 Mon Sep 17 00:00:00 2001 From: seki Date: Tue, 27 Dec 2016 04:18:59 +0900 Subject: [PATCH 1/2] Fixed that holiday does'nt delete --- src/clj/job_streamer/control_bus/component/calendar.clj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/clj/job_streamer/control_bus/component/calendar.clj b/src/clj/job_streamer/control_bus/component/calendar.clj index d24f069..a1f153d 100644 --- a/src/clj/job_streamer/control_bus/component/calendar.clj +++ b/src/clj/job_streamer/control_bus/component/calendar.clj @@ -131,6 +131,9 @@ :where [[?e :calendar/name ?n]]} name) :put! (fn [{cal :edn}] + ; + (d/transact datomic + [[:db.fn/retractEntity (:db/id cal)]]) (d/transact datomic [{:db/id (:db/id cal) :calendar/name (:calendar/name cal) From 33aa15db997bfef10d265092de0b02ae06967372 Mon Sep 17 00:00:00 2001 From: seki Date: Tue, 27 Dec 2016 04:21:14 +0900 Subject: [PATCH 2/2] Removed dust --- src/clj/job_streamer/control_bus/component/calendar.clj | 1 - 1 file changed, 1 deletion(-) diff --git a/src/clj/job_streamer/control_bus/component/calendar.clj b/src/clj/job_streamer/control_bus/component/calendar.clj index a1f153d..2fba50b 100644 --- a/src/clj/job_streamer/control_bus/component/calendar.clj +++ b/src/clj/job_streamer/control_bus/component/calendar.clj @@ -131,7 +131,6 @@ :where [[?e :calendar/name ?n]]} name) :put! (fn [{cal :edn}] - ; (d/transact datomic [[:db.fn/retractEntity (:db/id cal)]]) (d/transact datomic