mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 17:36:36 +02:00
✨ Move media mutations to commands
This commit is contained in:
parent
1718f49a90
commit
97a884018f
8 changed files with 427 additions and 260 deletions
|
@ -142,9 +142,9 @@
|
|||
|
||||
(update-file [{:keys [profile-id file-id changes revn] :or {revn 0}}]
|
||||
(let [params {::th/type :update-file
|
||||
::rpc/profile-id profile-id
|
||||
:id file-id
|
||||
:session-id (uuid/random)
|
||||
::rpc/profile-id profile-id
|
||||
:revn revn
|
||||
:components-v2 true
|
||||
:changes changes}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue