🐛 Fix user language validator

This commit is contained in:
Alejandro Alonso 2024-08-05 11:05:56 +02:00
parent fcf9444b1d
commit 8eddcd64f1
2 changed files with 7 additions and 1 deletions

View file

@ -102,7 +102,7 @@
(sm/define
[:map {:title "update-profile"}
[:fullname [::sm/word-string {:max 250}]]
[:lang {:optional true} [:string {:max 5}]]
[:lang {:optional true} [:string {:max 8}]]
[:theme {:optional true} [:string {:max 250}]]]))
(sv/defmethod ::update-profile