mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 16:36:13 +02:00
✨ Send only necessary data on profile update
This commit is contained in:
parent
408ca338e7
commit
121bff4eac
2 changed files with 3 additions and 4 deletions
|
@ -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