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.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pronouns/web.clj b/src/pronouns/web.clj
index bf717eb..5af441f 100644
--- a/src/pronouns/web.clj
+++ b/src/pronouns/web.clj
@@ -32,10 +32,10 @@
        (if (= "application/json" (.toLowerCase (get headers "accept")))
          {:status 200
           :headers {"Content-Type" "application/json"}
-          :body (pages/pronouns (:* params) pronouns-table :json)}
+          :body (pages/pronouns-json (:* params) pronouns-table)}
          {:status 200
           :headers {"Content-Type" "text/html"}
-          :body (pages/pronouns (:* params) pronouns-table :html)}))
+          :body (pages/pronouns (:* params) pronouns-table)}))
 
   (ANY "*" []
        (route/not-found (slurp (io/resource "404.html")))))