0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-12 18:18:24 -05:00

🐛 Prevent conflict errors just ignoring repeated requests.

On media image uploading.
This commit is contained in:
Andrey Antukh 2021-11-15 12:57:54 +01:00 committed by Andrés Moya
parent 0a7da1b7f2
commit 6eac9102c9

View file

@ -124,7 +124,8 @@
:thumbnail-id (:id thumb)
:width (:width source-info)
:height (:height source-info)
:mtype source-mtype})))
:mtype source-mtype}
{:on-conflict-do-nothing true})))
;; --- Create File Media Object (from URL)