🐛 Normalize return value from parse-client-ip function

This commit is contained in:
Andrey Antukh 2022-06-27 14:21:45 +02:00
parent b901a10aaa
commit 46c9fc1c5f

View file

@ -32,7 +32,7 @@
[request]
(or (some-> (yrq/get-header request "x-forwarded-for") (str/split ",") first)
(yrq/get-header request "x-real-ip")
(yrq/remote-addr request)))
(some-> (yrq/remote-addr request) str)))
(defn extract-utm-params
"Extracts additional data from params and namespace them under