Skip to content

Commit 05b3b29

Browse files
committed
repl session fixes
1 parent 20ede3e commit 05b3b29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

repl/emoji_cleanup.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@
5858
;; Re-do reactions but now including the key
5959

6060

61-
(def reactions (d/q '[:find [?r ?m] :where [?r :reaction/message ?m]] (db)))
61+
(def reactions (d/q '[:find ?r ?m :where [?r :reaction/message ?m]] (db)))
6262
(def tx-data (for [[r m] reactions]
63-
[:db/retract r :reaction/message ?m]))
63+
[:db/retract r :reaction/message m]))
6464

6565
(run! (partial d/transact (conn)) (partition-all 1000 tx-data))
6666

0 commit comments

Comments
 (0)