mirror of
https://github.com/penpot/penpot.git
synced 2025-05-25 11:46:10 +02:00
🐛 Fix user language validator
This commit is contained in:
parent
fcf9444b1d
commit
8eddcd64f1
2 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,11 @@
|
||||||
# CHANGELOG
|
# 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
|
## 2.1.1
|
||||||
|
|
||||||
### :sparkles: New features
|
### :sparkles: New features
|
||||||
|
|
|
@ -102,7 +102,7 @@
|
||||||
(sm/define
|
(sm/define
|
||||||
[:map {:title "update-profile"}
|
[:map {:title "update-profile"}
|
||||||
[:fullname [::sm/word-string {:max 250}]]
|
[:fullname [::sm/word-string {:max 250}]]
|
||||||
[:lang {:optional true} [:string {:max 5}]]
|
[:lang {:optional true} [:string {:max 8}]]
|
||||||
[:theme {:optional true} [:string {:max 250}]]]))
|
[:theme {:optional true} [:string {:max 250}]]]))
|
||||||
|
|
||||||
(sv/defmethod ::update-profile
|
(sv/defmethod ::update-profile
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue