Browse Source

Amend json text to match requirements

Zane Kansil 10 years ago
parent
commit
490756214d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frameworks/Clojure/pedestal/src/pedestal/service.clj

+ 1 - 1
frameworks/Clojure/pedestal/src/pedestal/service.clj

@@ -14,7 +14,7 @@
 
 
 (defn json-test
 (defn json-test
   [request]
   [request]
-  (ring-resp/response (json/write-str {:hello "world"})))
+  (ring-resp/response (json/write-str {:message "Hello, World!"})))
 
 
 (defroutes routes
 (defroutes routes
   [[["/json" {:get json-test}]]])
   [[["/json" {:get json-test}]]])