mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 16:36:37 +02:00
commit
c918e06859
3 changed files with 4 additions and 6 deletions
|
@ -53,8 +53,7 @@
|
|||
(assoc (->> sk str/kebab (keyword "penpot")) v))))]
|
||||
(reduce-kv process-param {} params)))
|
||||
|
||||
(def ^:private
|
||||
profile-props
|
||||
(def profile-props
|
||||
[:id
|
||||
:is-active
|
||||
:is-muted
|
||||
|
|
|
@ -110,7 +110,6 @@
|
|||
::sm/params schema:update-profile
|
||||
::sm/result schema:profile}
|
||||
[{:keys [::db/pool] :as cfg} {:keys [::rpc/profile-id fullname lang theme] :as params}]
|
||||
|
||||
(db/with-atomic [conn pool]
|
||||
;; NOTE: we need to retrieve the profile independently if we use
|
||||
;; it or not for explicit locking and avoid concurrent updates of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue