0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-16 01:31:22 -05:00

🔥 Remove unused code.

This commit is contained in:
Andrey Antukh 2021-03-02 21:14:54 +01:00
parent 044aef8414
commit 3b9201ed0e
2 changed files with 1 additions and 4 deletions

View file

@ -90,7 +90,6 @@
(s/def ::error-report-webhook ::us/string) (s/def ::error-report-webhook ::us/string)
(s/def ::feedback-destination ::us/string) (s/def ::feedback-destination ::us/string)
(s/def ::feedback-enabled ::us/boolean) (s/def ::feedback-enabled ::us/boolean)
(s/def ::feedback-reply-to ::us/email)
(s/def ::feedback-token ::us/string) (s/def ::feedback-token ::us/string)
(s/def ::github-client-id ::us/string) (s/def ::github-client-id ::us/string)
(s/def ::github-client-secret ::us/string) (s/def ::github-client-secret ::us/string)
@ -164,7 +163,6 @@
::error-report-webhook ::error-report-webhook
::feedback-destination ::feedback-destination
::feedback-enabled ::feedback-enabled
::feedback-reply-to
::feedback-token ::feedback-token
::github-client-id ::github-client-id
::github-client-secret ::github-client-secret

View file

@ -61,8 +61,7 @@
(defn send-feedback (defn send-feedback
[pool profile params] [pool profile params]
(let [params (us/conform ::feedback params) (let [params (us/conform ::feedback params)
destination (cfg/get :feedback-destination) destination (cfg/get :feedback-destination)]
reply-to (cfg/get :feedback-reply-to)]
(emails/send! pool emails/feedback (emails/send! pool emails/feedback
{:to destination {:to destination
:profile profile :profile profile