mirror of
https://github.com/penpot/penpot.git
synced 2025-02-08 08:09:14 -05:00
🐛 Fix issue with schema uri decoder
This commit is contained in:
parent
d2bedec59c
commit
40f947fc9f
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue