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:
parent
b4fc39f73c
commit
a5006b1687
2 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue