0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

🐛 Remove www-form encoding from webhooks

It is broken by design, so we just do not support it
This commit is contained in:
Andrey Antukh 2023-01-13 10:33:34 +01:00
parent b4fc39f73c
commit a5006b1687
2 changed files with 0 additions and 2 deletions

View file

@ -29,7 +29,6 @@
(s/def ::is-active ::us/boolean)
(s/def ::mtype
#{"application/json"
"application/x-www-form-urlencoded"
"application/transit+json"})
(s/def ::create-webhook

View file

@ -626,7 +626,6 @@
(def valid-webhook-mtypes
[{:label "application/json" :value "application/json"}
{:label "application/x-www-form-urlencoded" :value "application/x-www-form-urlencoded"}
{:label "application/transit+json" :value "application/transit+json"}])
(defn- extract-status