Skip to content

Commit

Permalink
🐛 Send thread-id on create-comment-thread rpc method
Browse files Browse the repository at this point in the history
  • Loading branch information
niwinz authored and Alotor committed Oct 15, 2024
1 parent ac80e9a commit 1fb21d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/src/app/loggers/webhooks.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down
6 changes: 4 additions & 2 deletions backend/src/app/rpc/commands/comments.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 1fb21d5

Please sign in to comment.