0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

🐛 Touch modified file when ignore sync, to avoid ETAG caching

This commit is contained in:
Andrés Moya 2024-01-09 13:02:52 +01:00 committed by Andrey Antukh
parent 4d6c0f3da9
commit b7b7b9d580

View file

@ -1030,7 +1030,8 @@
(defn ignore-sync
[conn {:keys [file-id date] :as params}]
(db/update! conn :file
{:ignore-sync-until date}
{:ignore-sync-until date
:modified-at (dt/now)}
{:id file-id}
{::db/return-keys true}))