0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

Remove share-id from comments webhook

This commit is contained in:
Andrey Antukh 2022-12-16 08:24:37 +01:00
parent 0087447b01
commit abf397fe5b

View file

@ -10,10 +10,12 @@
[app.common.geom.point :as gpt]
[app.common.spec :as us]
[app.db :as db]
[app.loggers.audit :as-alias audit]
[app.loggers.webhooks :as-alias webhooks]
[app.rpc.commands.files :as files]
[app.rpc.commands.teams :as teams]
[app.rpc.doc :as-alias doc]
[app.rpc.helpers :as rph]
[app.util.blob :as blob]
[app.util.retry :as rtry]
[app.util.services :as sv]
@ -426,7 +428,9 @@
(upsert-comment-thread-status! conn profile-id thread-id)
;; Return the created comment object.
comment)))
(rph/with-meta comment
{::audit/props {:file-id (:file-id thread)
:share-id nil}}))))
;; --- COMMAND: Update Comment