mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 06:18:23 +02:00
♻️ Add string length validation to backend RPC methods fields
This commit is contained in:
parent
0721760900
commit
28c2197ba7
13 changed files with 31 additions and 29 deletions
|
@ -29,7 +29,7 @@
|
|||
|
||||
(def ^:private schema:verify-token
|
||||
[:map {:title "verify-token"}
|
||||
[:token :string]])
|
||||
[:token [:string {:max 1000}]]])
|
||||
|
||||
(sv/defmethod ::verify-token
|
||||
{::rpc/auth false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue