📎 Fix linter issues.

This commit is contained in:
Andrey Antukh 2021-02-03 23:17:56 +01:00 committed by Hirunatan
parent b71d05935a
commit 6e08c6bc35
3 changed files with 4 additions and 10 deletions

View file

@ -13,12 +13,9 @@
[app.common.uuid :as uuid]
[app.config :as cfg]
[app.util.log4j :refer [update-thread-context!]]
[clojure.pprint :refer [pprint]]
[clojure.tools.logging :as log]
[cuerdas.core :as str]
[expound.alpha :as expound])
(:import
org.apache.logging.log4j.ThreadContext))
[expound.alpha :as expound]))
(defn- explain-error
[error]
@ -39,7 +36,6 @@
:hint (ex-message error)
:data edata}
(let [headers (:headers request)]
{:user-agent (get headers "user-agent")
:frontend-version (get headers "x-frontend-version" "unknown")})