From 6b8188d5e945bdd9b824b18b2223d6c4587604ee Mon Sep 17 00:00:00 2001 From: Christian Mueller Date: Tue, 25 Feb 2014 18:17:37 +0100 Subject: [PATCH] removing the ring session from note params --- src/notehub/api.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notehub/api.clj b/src/notehub/api.clj index 6c55c9c..a48a9ea 100644 --- a/src/notehub/api.clj +++ b/src/notehub/api.clj @@ -107,7 +107,7 @@ (when (blank? note) "note is empty")])] (if (empty? errors) (let [[year month day] (map str (get-date)) - params (dissoc params :note :pid :signature :password :version) + params (dissoc params :note :pid :signature :password :version :session) raw-title (filter #(or (= \- %) (Character/isLetterOrDigit %)) (-> note derive-title trim (sreplace " " "-") lower-case)) max-length (get-setting :max-title-length #(Integer/parseInt %) 80)