We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e503fd9 commit fb76f0bCopy full SHA for fb76f0b
src/glosa/adapters/database/plain.clj
@@ -49,10 +49,6 @@
49
(let [comment (first (filter (fn [my-comment] (= (:id my-comment) id)) @db))
50
parent-id (if (or (empty? (:parent comment)) (nil? (:parent comment))) nil (:parent comment))
51
parent (if-not (nil? parent-id) (first (filter (fn [my-comment] (= (str parent-id) (str (:id my-comment)))) @db)) nil)]
52
- (prn (first (filter (fn [my-comment] (= parent-id (:id my-comment))) @db)))
53
- (prn comment)
54
- (prn parent-id)
55
- (prn parent)
56
(if parent (:email parent) nil)))
57
58
(defn add-comment
0 commit comments