mirror of
https://github.com/penpot/penpot.git
synced 2025-10-04 22:17:24 +00:00
🐛 Fix issue on awsns http handler
This commit is contained in:
@@ -36,10 +36,10 @@
|
||||
|
||||
(defmethod ig/init-key ::routes
|
||||
[_ {:keys [::wrk/executor] :as cfg}]
|
||||
(letfn [(handler [request respond _]
|
||||
(letfn [(handler [request]
|
||||
(let [data (-> request yrq/body slurp)]
|
||||
(px/run! executor #(handle-request cfg data)))
|
||||
(respond {::yrs/status 200}))]
|
||||
{::yrs/status 200})]
|
||||
["/sns" {:handler handler
|
||||
:allowed-methods #{:post}}]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user