mirror of
https://github.com/penpot/penpot.git
synced 2025-07-29 10:37:29 +02:00
✨ Remove duplicated rpc method for creating file object thumbnails
This commit is contained in:
parent
b566abbd04
commit
925f2dc30f
3 changed files with 8 additions and 43 deletions
|
@ -164,7 +164,7 @@
|
|||
:object-id object-id
|
||||
:media blob
|
||||
:tag (or tag "frame")}]
|
||||
(rp/cmd! :upsert-file-object-thumbnail params))))
|
||||
(rp/cmd! :create-file-object-thumbnail params))))
|
||||
(rx/catch rx/empty)
|
||||
(rx/ignore)))))
|
||||
(rx/catch (fn [cause]
|
||||
|
|
|
@ -47,10 +47,10 @@
|
|||
(def default-options
|
||||
{:update-file {:query-params [:id]}
|
||||
:get-raw-file {:rename-to :get-file :raw-transit? true}
|
||||
:upsert-file-object-thumbnail {:query-params [:file-id :object-id :tag]
|
||||
:form-data? true}
|
||||
:create-file-object-thumbnail {:query-params [:file-id :object-id :tag]
|
||||
:form-data? true}
|
||||
|
||||
:create-file-object-thumbnail
|
||||
{:query-params [:file-id :object-id :tag]
|
||||
:form-data? true}
|
||||
|
||||
:create-file-thumbnail
|
||||
{:query-params [:file-id :revn]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue