mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix issue with schema uri decoder
This commit is contained in:
@@ -844,7 +844,11 @@
|
||||
:gen/gen (sg/uri)
|
||||
::oapi/type "string"
|
||||
::oapi/format "uri"
|
||||
::oapi/decode (comp u/uri str/trim)}})
|
||||
::oapi/decode
|
||||
(fn [val]
|
||||
(if (u/uri? val)
|
||||
val
|
||||
(-> val str/trim u/uri)))}})
|
||||
|
||||
(register! ::text
|
||||
{:type :string
|
||||
|
||||
Reference in New Issue
Block a user