mirror of
https://github.com/penpot/penpot.git
synced 2026-04-27 04:08:23 +00:00
🐛 Use ::sm/any instead of any for get-file-fragment rpc method schema
The usage of `any?` predicate as-is uses the standard any generator that causes to generate java.lang.Character instances created that are not properly serialiable to JSON. The `::sm/any` schema delimits the generator to a commonly known serializable types on json.
This commit is contained in:
parent
9c57596954
commit
2e8d08d047
@ -357,7 +357,7 @@
|
||||
[:id ::sm/uuid]
|
||||
[:file-id ::sm/uuid]
|
||||
[:created-at ::dt/instant]
|
||||
[:content any?]])
|
||||
[:content ::sm/any]])
|
||||
|
||||
(def schema:get-file-fragment
|
||||
[:map {:title "get-file-fragment"}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user