mirror of
https://github.com/penpot/penpot.git
synced 2025-02-09 00:28:20 -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 ::is-active ::us/boolean)
|
||||||
(s/def ::mtype
|
(s/def ::mtype
|
||||||
#{"application/json"
|
#{"application/json"
|
||||||
"application/x-www-form-urlencoded"
|
|
||||||
"application/transit+json"})
|
"application/transit+json"})
|
||||||
|
|
||||||
(s/def ::create-webhook
|
(s/def ::create-webhook
|
||||||
|
|
|
@ -626,7 +626,6 @@
|
||||||
|
|
||||||
(def valid-webhook-mtypes
|
(def valid-webhook-mtypes
|
||||||
[{:label "application/json" :value "application/json"}
|
[{: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"}])
|
{:label "application/transit+json" :value "application/transit+json"}])
|
||||||
|
|
||||||
(defn- extract-status
|
(defn- extract-status
|
||||||
|
|
Loading…
Add table
Reference in a new issue