Normalize ids parsing on srepl helpers

This commit is contained in:
Andrey Antukh 2024-02-08 10:48:21 +01:00 committed by Andrés Moya
parent 66eca9ba4a
commit a5fc42cafa
4 changed files with 16 additions and 31 deletions

View file

@ -52,9 +52,9 @@
(defn parse-uuid
[v]
(if (uuid? v)
v
(d/parse-uuid v)))
(if (string? v)
(d/parse-uuid v)
v))
(defn reset-file-data!
"Hardcode replace of the data of one file."