mirror of
https://github.com/penpot/penpot.git
synced 2025-07-24 00:27:13 +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
|
@ -332,6 +332,7 @@
|
|||
(let [method-fn (get-in *system* [:app.rpc/methods :mutations type])]
|
||||
(try-on! (method-fn (-> data
|
||||
(dissoc ::type)
|
||||
(assoc ::rpc/profile-id profile-id)
|
||||
(d/without-nils))))))
|
||||
|
||||
(defn query!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue