Fixbug subject
This commit is contained in:
parent
da0d8c07ca
commit
46344044e9
@ -1,4 +1,4 @@
|
||||
(defproject api2smtp "1.0.4"
|
||||
(defproject api2smtp "1.0.5"
|
||||
:description "Send emails through an Endpoint API"
|
||||
:url "https://github.com/tanrax/api2smtp"
|
||||
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
|
||||
|
@ -16,7 +16,7 @@
|
||||
:email (-> json :email)
|
||||
:message (-> json :message)}]
|
||||
;; Send email
|
||||
(send config (:smtp-to config) (:smtp-to config) (render-template "emails/contact.html" params) (render-template "emails/contact.txt" params))
|
||||
(send config (:smtp-to config) (:smtp-subject config) (render-template "emails/contact.html" params) (render-template "emails/contact.txt" params))
|
||||
|
||||
;; Response OK
|
||||
(render-JSON req {:status "ok"})))
|
||||
|
Loading…
Reference in New Issue
Block a user