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)