0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-22 14:39:45 -05:00

🐛 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

@ -1,5 +1,11 @@
# CHANGELOG
## 2.1.2
### :bug: Bugs fixed
- User switch language to "zh_hant" will get 400 [Github #4884](https://github.com/penpot/penpot/issues/4884)
## 2.1.1
### :sparkles: New features

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