mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 16:17:41 +02:00
🐛 Fix last update project timer update after creating new file
This commit is contained in:
parent
3e6b3bcdc4
commit
fa4c7a1eb7
2 changed files with 6 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
|||
[app.util.objects-map :as omap]
|
||||
[app.util.pointer-map :as pmap]
|
||||
[app.util.services :as sv]
|
||||
[app.util.time :as dt]
|
||||
[clojure.spec.alpha :as s]))
|
||||
|
||||
(defn create-file-role!
|
||||
|
@ -67,6 +68,10 @@
|
|||
(->> (assoc params :file-id id :role :owner)
|
||||
(create-file-role! conn))
|
||||
|
||||
(db/update! conn :project
|
||||
{:modified-at (dt/now)}
|
||||
{:id project-id})
|
||||
|
||||
(files/decode-row file)))
|
||||
|
||||
(s/def ::create-file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue