From 3e28dd691ecd748564747a2e4639a8a88f41fca1 Mon Sep 17 00:00:00 2001 From: Christian Mueller Date: Mon, 17 Feb 2014 23:28:47 +0100 Subject: [PATCH] eliminatoring the api version from 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 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)