mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 15:18:23 +02:00
✨ Improve update-file webhook batching
make it per user
This commit is contained in:
parent
97a884018f
commit
b235d3f0f2
4 changed files with 28 additions and 8 deletions
|
@ -190,6 +190,12 @@
|
|||
:profile-id profile-id
|
||||
:ip-addr (some-> request audit/parse-client-ip)
|
||||
:props props
|
||||
|
||||
;; NOTE: for batch-key lookup we need the params as-is
|
||||
;; because the rpc api does not need to know the
|
||||
;; audit/webhook specific object layout.
|
||||
::params (dissoc params ::http/request)
|
||||
|
||||
::webhooks/batch-key
|
||||
(or (::webhooks/batch-key mdata)
|
||||
(::webhooks/batch-key resultm))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue