Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchy64 committed Aug 30, 2024
1 parent 9f101a4 commit c57bd88
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
(ns compojure-api-example.clj-kondo-hooks
(:require [compojure.api.sweet :as sweet]
(:require ;[compojure.api.sweet :as sweet]
[compojure.api.sweet :as core]
[ring.util.http-response :as resp]))

(sweet/GET "/30" [] (resp/ok {:result 30}))
(sweet/GET "/30" req
(resp/ok {:result (:body req)}))
(core/GET "/30" [] (resp/ok {:result 30}))

(core/GET "/30" req
(resp/ok {:result (:body req)}))

0 comments on commit c57bd88

Please sign in to comment.