mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 15:39:50 -05:00
🐛 Touch modified file when ignore sync, to avoid ETAG caching
This commit is contained in:
parent
4d6c0f3da9
commit
b7b7b9d580
1 changed files with 2 additions and 1 deletions
|
@ -1030,7 +1030,8 @@
|
||||||
(defn ignore-sync
|
(defn ignore-sync
|
||||||
[conn {:keys [file-id date] :as params}]
|
[conn {:keys [file-id date] :as params}]
|
||||||
(db/update! conn :file
|
(db/update! conn :file
|
||||||
{:ignore-sync-until date}
|
{:ignore-sync-until date
|
||||||
|
:modified-at (dt/now)}
|
||||||
{:id file-id}
|
{:id file-id}
|
||||||
{::db/return-keys true}))
|
{::db/return-keys true}))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue