mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 14:12:36 -05:00
Cleanup
This commit is contained in:
parent
e1b683f670
commit
9f3e1743a1
1 changed files with 2 additions and 0 deletions
|
@ -215,6 +215,8 @@
|
||||||
:token token
|
:token token
|
||||||
:tokens tokens})])
|
:tokens tokens})])
|
||||||
(p/finally (fn [result err]
|
(p/finally (fn [result err]
|
||||||
|
;; The result should be a vector of all resolved validations
|
||||||
|
;; We do not handle the error case as it will be handled by the components validations
|
||||||
(when (and (seq result) (not err))
|
(when (and (seq result) (not err))
|
||||||
(let [token (cond-> {:name final-name
|
(let [token (cond-> {:name final-name
|
||||||
:type (or (:type token) token-type)
|
:type (or (:type token) token-type)
|
||||||
|
|
Loading…
Add table
Reference in a new issue