diff options
| author | eltrac <hi@eltr.ac> | 2026-05-09 14:58:32 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-05-09 14:58:32 +0800 |
| commit | 6fd4ca2ea51b9e9beba0c74eff6c48a9b61c6ac2 (patch) | |
| tree | 82c57bca565fb8ce0c016471bfd727b7de8948a6 /src | |
| parent | 845ff0f0facf3b7428399e4924b4aa0c9d79111c (diff) | |
style: format retriever.clj
Diffstat (limited to 'src')
| -rw-r--r-- | src/weepinbell/retriever.clj | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/weepinbell/retriever.clj b/src/weepinbell/retriever.clj index d1572dc..1da6422 100644 --- a/src/weepinbell/retriever.clj +++ b/src/weepinbell/retriever.clj @@ -32,13 +32,12 @@ (defn- respond-webmention-list-json [data] (let [base-resp {:status 200 - :headers {"Content-Type" "application/json; charset=utf-8"} - :body []}] - (if data - (assoc base-resp :body data) - (assoc (assoc base-resp :status 400) - :body {:message "The list is empty, something is wrong with your request."})) - )) + :headers {"Content-Type" "application/json; charset=utf-8"} + :body []}] + (if data + (assoc base-resp :body data) + (assoc (assoc base-resp :status 400) + :body {:message "The list is empty, something is wrong with your request."})))) (defn- wrap-response-object [data] (let [result {:webmention (:webmention data)}] |
