From 152f72a2bb9c553dfbb3b8e1525fcdc6015198d9 Mon Sep 17 00:00:00 2001 From: gered Date: Thu, 4 Sep 2014 15:27:33 -0400 Subject: [PATCH] use a more descriptive arg name --- src/clj_hl7_fhir/core.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/clj_hl7_fhir/core.clj b/src/clj_hl7_fhir/core.clj index e69c3b0..7282b86 100644 --- a/src/clj_hl7_fhir/core.clj +++ b/src/clj_hl7_fhir/core.clj @@ -199,8 +199,8 @@ keywordize? arg is true, then returned resource type names will be turned into a \"kebab case\" keyword (as opposed to a camelcase string which is the default). if the URL cannot be parsed, returns nil" - [resource-url & [keywordize?]] - (let [parts (-> (strip-query-params resource-url) + [relative-url & [keywordize?]] + (let [parts (-> (strip-query-params relative-url) (str/split #"/"))] (cond (= 2 (count parts))