mirror of
https://github.com/penpot/penpot.git
synced 2025-06-08 03:41:40 +02:00
Merge remote-tracking branch 'origin/staging' into develop
This commit is contained in:
commit
025034cb71
21 changed files with 190 additions and 155 deletions
|
@ -413,15 +413,13 @@
|
|||
{:modified-at (dt/now)}
|
||||
{:id project-id})
|
||||
|
||||
(let [props (audit/clean-props params)
|
||||
context (audit/params->context params)]
|
||||
(let [props (audit/clean-props params)]
|
||||
(doseq [file-id result]
|
||||
(audit/submit! cfg
|
||||
{::audit/type "action"
|
||||
::audit/name "create-file"
|
||||
::audit/profile-id profile-id
|
||||
::audit/props (assoc props :id file-id)
|
||||
::audit/context context})))
|
||||
(let [props (assoc props :id file-id)
|
||||
event (-> (audit/event-from-rpc-params params)
|
||||
(assoc ::audit/name "create-file")
|
||||
(assoc ::audit/props props))]
|
||||
(audit/submit! cfg event))))
|
||||
|
||||
result))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue