Move media mutations to commands

This commit is contained in:
Andrey Antukh 2023-01-02 17:31:47 +01:00
parent 1718f49a90
commit 97a884018f
8 changed files with 427 additions and 260 deletions

View file

@ -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!