Skip to content

Commit 5483bf5

Browse files
committed
all projects returns string as response
1 parent 113ef65 commit 5483bf5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

catacumba-app/src/catacumba_app/routes.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
(defn hello-handler
77
[context]
8-
(http/ok "{\"msg\": \"hello world\"}" {:content-type "application/json"}))
8+
"hello world")
99

1010
(defn routes [base]
1111
(ct/routes [
12-
[:get "" hello-handler]]))
12+
[:get "" hello-handler]]))

luminus-app/src/clj/luminus_app/routes/services.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
:description "Sample Services"}}}}
1212

1313
(GET "/" []
14-
(ok {:msg "hello"})))
14+
(ok "hello world")))

yada-app/src/yada_app/routes.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
(defn routes [base]
66
[base
77
[
8-
["" (yada/as-resource {:msg "hello world"})]
8+
["" (yada/as-resource "hello world")]
99
[true (yada/as-resource nil)]]])

0 commit comments

Comments
 (0)