0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-07 15:39:42 -05:00

🐛 Send thread-id on create-comment-thread rpc method

This commit is contained in:
Andrey Antukh 2024-10-15 09:00:49 +02:00 committed by Alonso Torres
parent ac80e9a1ac
commit 1fb21d537c
2 changed files with 5 additions and 3 deletions

View file

@ -135,7 +135,7 @@
(l/dbg :hint "run webhook" (l/dbg :hint "run webhook"
:event-name (:name event) :event-name (:name event)
:webhook-id (:id whook) :webhook-id (str (:id whook))
:webhook-uri (:uri whook) :webhook-uri (:uri whook)
:webhook-mtype (:mtype whook)) :webhook-mtype (:mtype whook))

View file

@ -328,8 +328,10 @@
:page-name page-name :page-name page-name
:position position :position position
:content content :content content
:frame-id frame-id}] :frame-id frame-id}
(db/tx-run! cfg create-comment-thread params)))) thread (db/tx-run! cfg create-comment-thread params)]
(vary-meta thread assoc ::audit/props thread))))
(defn- create-comment-thread (defn- create-comment-thread
[{:keys [::db/conn] :as cfg} [{:keys [::db/conn] :as cfg}