Skip to content

Commit

Permalink
Remove test code
Browse files Browse the repository at this point in the history
  • Loading branch information
tanrax committed May 12, 2020
1 parent e503fd9 commit fb76f0b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/glosa/adapters/database/plain.clj
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@
(let [comment (first (filter (fn [my-comment] (= (:id my-comment) id)) @db))
parent-id (if (or (empty? (:parent comment)) (nil? (:parent comment))) nil (:parent comment))
parent (if-not (nil? parent-id) (first (filter (fn [my-comment] (= (str parent-id) (str (:id my-comment)))) @db)) nil)]
(prn (first (filter (fn [my-comment] (= parent-id (:id my-comment))) @db)))
(prn comment)
(prn parent-id)
(prn parent)
(if parent (:email parent) nil)))

(defn add-comment
Expand Down

0 comments on commit fb76f0b

Please sign in to comment.