diff --git a/src/notehub/api.clj b/src/notehub/api.clj index 91e78b3..3cc0a9e 100644 --- a/src/notehub/api.clj +++ b/src/notehub/api.clj @@ -97,7 +97,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) + params (dissoc params :note :pid :signature :password :version) raw-title (filter #(or (= \- %) (Character/isLetterOrDigit %)) (-> note derive-title trim (sreplace " " "-") lower-case)) max-length (get-setting :max-title-length #(Integer/parseInt %) 80)