mirror of
https://github.com/penpot/penpot.git
synced 2025-07-27 06:07:18 +02:00
🎉 Add tests for webhooks rpc and logger
This commit is contained in:
parent
21abd98b95
commit
f2b60261f8
5 changed files with 183 additions and 11 deletions
|
@ -99,8 +99,8 @@
|
|||
{::doc/added "1.17"}
|
||||
[{:keys [::db/pool ::wrk/executor] :as cfg} {:keys [profile-id team-id] :as params}]
|
||||
(check-edition-permissions! pool profile-id team-id)
|
||||
(->> (validate-webhook! cfg nil params)
|
||||
(p/fmap executor (fn [_] (validate-quotes! cfg params)))
|
||||
(->> (validate-quotes! cfg params)
|
||||
(p/fmap executor (fn [_] (validate-webhook! cfg nil params)))
|
||||
(p/fmap executor (fn [_] (insert-webhook! cfg params)))))
|
||||
|
||||
(s/def ::update-webhook
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue