about summary refs log tree commit diff
path: root/src/pronouns/web.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/pronouns/web.clj')
-rw-r--r--src/pronouns/web.clj6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pronouns/web.clj b/src/pronouns/web.clj
index 971c69b..665618d 100644
--- a/src/pronouns/web.clj
+++ b/src/pronouns/web.clj
@@ -39,8 +39,8 @@
               (str subject " brought " possessive-determiner " frisbee")
               (str "at least I think it was " possessive-pronoun)
               (str subject " threw it to " reflexive)]))
-  ([error-message]
-     error-message))
+  ([nothing]
+     "We couldn't find those pronouns in our database, please let us know to add them!"))
 
 (defroutes app-routes
   (GET "/" []
@@ -50,7 +50,7 @@
   (GET "/*" {params :params}
        {:status 200
         :headers {"Content-Type" "text/plain"}
-        :body (let [pronouns (parse-pronouns-with-lookup {:* params})]
+        :body (let [pronouns (parse-pronouns-with-lookup (:* params))]
                 (apply render-examples-page pronouns))})
 
   (ANY "*" []