mirror of
https://github.com/penpot/penpot.git
synced 2025-03-31 09:01:20 -05:00
💄 Add minor cosmetic improvement on profile rpc ns
This commit is contained in:
parent
9e4ed0ea92
commit
1c75e5b46b
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@
|
|||
[:props {:optional true}
|
||||
[:map-of {:title "ProfileProps"} :keyword :any]]])
|
||||
|
||||
(def profile?
|
||||
(def valid-profile?
|
||||
(sm/pred-fn schema:profile))
|
||||
|
||||
;; --- QUERY: Get profile (own)
|
||||
|
@ -95,7 +95,7 @@
|
|||
|
||||
(dm/assert!
|
||||
"expected valid profile data"
|
||||
(profile? params))
|
||||
(valid-profile? params))
|
||||
|
||||
(db/with-atomic [conn pool]
|
||||
;; NOTE: we need to retrieve the profile independently if we use
|
||||
|
|
Loading…
Add table
Reference in a new issue