0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -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"
:event-name (:name event)
:webhook-id (:id whook)
:webhook-id (str (:id whook))
:webhook-uri (:uri whook)
:webhook-mtype (:mtype whook))

View file

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