eliminatoring the api version from params
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user