🐛 Update project modified-at field after file import

This commit is contained in:
Andrey Antukh 2023-07-07 15:17:48 +02:00 committed by Alejandro Alonso
parent decaeda2fe
commit ad53d0b55a
3 changed files with 7 additions and 0 deletions

View file

@ -929,5 +929,10 @@
::input (:path file)
::project-id project-id
::ignore-index-errors? true))]
(db/update! conn :project
{:modified-at (dt/now)}
{:id project-id})
(rph/with-meta ids
{::audit/props {:file nil :file-ids ids}}))))