mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 01:46:38 +02:00
🐛 Skip unnecesary mutation events from audit log
This commit is contained in:
parent
3dfd87eee1
commit
86712f977d
3 changed files with 10 additions and 6 deletions
|
@ -996,7 +996,8 @@
|
|||
:opt-un [::data]))
|
||||
|
||||
(sv/defmethod ::upsert-file-object-thumbnail
|
||||
{::doc/added "1.17"}
|
||||
{::doc/added "1.17"
|
||||
::audit/skip true}
|
||||
[{:keys [pool] :as cfg} {:keys [::rpc/profile-id file-id] :as params}]
|
||||
(db/with-atomic [conn pool]
|
||||
(check-edition-permissions! conn profile-id file-id)
|
||||
|
@ -1026,7 +1027,8 @@
|
|||
(sv/defmethod ::upsert-file-thumbnail
|
||||
"Creates or updates the file thumbnail. Mainly used for paint the
|
||||
grid thumbnails."
|
||||
{::doc/added "1.17"}
|
||||
{::doc/added "1.17"
|
||||
::audit/skip true}
|
||||
[{:keys [pool] :as cfg} {:keys [::rpc/profile-id file-id] :as params}]
|
||||
(db/with-atomic [conn pool]
|
||||
(check-edition-permissions! conn profile-id file-id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue