Browse Source

removing the ring session from note params

master
Christian Mueller 12 years ago
parent
commit
6b8188d5e9
  1. 2
      src/notehub/api.clj

2
src/notehub/api.clj

@ -107,7 +107,7 @@ @@ -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)

Loading…
Cancel
Save