From 3b9201ed0ea173ff2ef75b243222a976bdea9674 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 2 Mar 2021 21:14:54 +0100 Subject: [PATCH] :fire: Remove unused code. --- backend/src/app/config.clj | 2 -- backend/src/app/http/feedback.clj | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/backend/src/app/config.clj b/backend/src/app/config.clj index a9fe74ac82..a4f8a08170 100644 --- a/backend/src/app/config.clj +++ b/backend/src/app/config.clj @@ -90,7 +90,6 @@ (s/def ::error-report-webhook ::us/string) (s/def ::feedback-destination ::us/string) (s/def ::feedback-enabled ::us/boolean) -(s/def ::feedback-reply-to ::us/email) (s/def ::feedback-token ::us/string) (s/def ::github-client-id ::us/string) (s/def ::github-client-secret ::us/string) @@ -164,7 +163,6 @@ ::error-report-webhook ::feedback-destination ::feedback-enabled - ::feedback-reply-to ::feedback-token ::github-client-id ::github-client-secret diff --git a/backend/src/app/http/feedback.clj b/backend/src/app/http/feedback.clj index 759b9c992e..0d3fa49591 100644 --- a/backend/src/app/http/feedback.clj +++ b/backend/src/app/http/feedback.clj @@ -61,8 +61,7 @@ (defn send-feedback [pool profile params] (let [params (us/conform ::feedback params) - destination (cfg/get :feedback-destination) - reply-to (cfg/get :feedback-reply-to)] + destination (cfg/get :feedback-destination)] (emails/send! pool emails/feedback {:to destination :profile profile