diff --git a/src/ring/middleware/json.clj b/src/ring/middleware/json.clj index e457822..195ff8e 100644 --- a/src/ring/middleware/json.clj +++ b/src/ring/middleware/json.clj @@ -77,7 +77,7 @@ JSON is malformed. See: wrap-json-params." [request options] (if-let [[valid? json] (read-json request options)] - (when valid? (assoc-json-params request json options)) + (when valid? (assoc-json-params request json)) request)) (defn wrap-json-params