Skip to content

Commit

Permalink
Merge pull request #52 from seki-seki/fix/calendar-holiday-cant-delete
Browse files Browse the repository at this point in the history
Fixed that holiday does'nt delete
  • Loading branch information
kawasima authored Dec 27, 2016
2 parents ebf64b6 + 33aa15d commit 27d0bb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/clj/job_streamer/control_bus/component/calendar.clj
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@
: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)
Expand Down

0 comments on commit 27d0bb8

Please sign in to comment.