From b138550c0d2306b2af84df82d2e631a5d13038ab Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 23 Jun 2023 12:59:03 +0200 Subject: [PATCH] :bug: Fix issue on awsns http handler --- backend/src/app/http/awsns.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/app/http/awsns.clj b/backend/src/app/http/awsns.clj index a761ad8d96..681e7045f7 100644 --- a/backend/src/app/http/awsns.clj +++ b/backend/src/app/http/awsns.clj @@ -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}}]))