Fix invalid schemas (#19548)

* fix: account selection invalid schema definition

* fix: token-input invalid schema definition
This commit is contained in:
Lungu Cristian 2024-04-08 13:33:30 +03:00 committed by GitHub
parent 32098d2548
commit 5fba1dbfa3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -5,8 +5,8 @@
[:catn
[:props
[:map
[:token {:optional true} [:maybe :string :keyword]]
[:currency {:optional true} [:maybe :string :keyword]]
[:token {:optional true} [:maybe [:or :string :keyword]]]
[:currency {:optional true} [:maybe [:or :string :keyword]]]
[:error? {:optional true} [:maybe :boolean]]
[:title {:optional true} [:maybe :string]]
[:conversion {:optional true} [:maybe :double]]

View File

@ -81,7 +81,7 @@
[:cat
[:map {:closed true}
[:community-id string?]
[:password [:maybe [:or string? object?]]]
[:password [:maybe [:or string? security/?masked-password]]]
[:pub-key string?]
[:addresses-to-reveal
[:or [:set string?]