Skip to content

Commit 7558a02

Browse files
committed
comment out the "X has updated their selections/rejections" email for now
1 parent 8c288ca commit 7558a02

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/meetcute/logic.clj

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -186,18 +186,18 @@
186186
:subject "Thanks for submitting your profile for review!"
187187
:body "We'll review your profile shortly. Once we make it live, you'll start receiving your daily cutie emails! 🍊"}))
188188

189-
(when (and updated-selections-rejections ; TODO: for now, we're only sending emails when the user updates their selections/rejections because it was getting too noisy
190-
(= (util/get-env-var "ENVIRONMENT")
191-
(:prod util/ENVIRONMENTS)))
192-
(email/send-email {:to "hello@smallworld.kiwi"
193-
:from-name "MeetCute logs"
194-
:subject log-message
195-
:body (str "<div style='line-height: 1.6em; font-family: Roboto Mono, monospace !important; margin: 24px 0'>"
196-
"<b><u>Here's what's changed:</u></b><br><br>"
197-
"OLD: <br><pre>" (with-out-str (pp/pprint old)) "</pre><br>"
198-
"NEW: <br><pre>" (with-out-str (pp/pprint new)) "</pre><br>"
199-
"NO CHANGE:<br><pre>" (with-out-str (pp/pprint no-change)) "</pre><br>"
200-
"</div>")}))
189+
#_(when (and updated-selections-rejections ; TODO: for now, we're only sending emails when the user updates their selections/rejections because it was getting too noisy
190+
(= (util/get-env-var "ENVIRONMENT")
191+
(:prod util/ENVIRONMENTS)))
192+
(email/send-email {:to "hello@smallworld.kiwi"
193+
:from-name "MeetCute logs"
194+
:subject log-message
195+
:body (str "<div style='line-height: 1.6em; font-family: Roboto Mono, monospace !important; margin: 24px 0'>"
196+
"<b><u>Here's what's changed:</u></b><br><br>"
197+
"OLD: <br><pre>" (with-out-str (pp/pprint old)) "</pre><br>"
198+
"NEW: <br><pre>" (with-out-str (pp/pprint new)) "</pre><br>"
199+
"NO CHANGE:<br><pre>" (with-out-str (pp/pprint no-change)) "</pre><br>"
200+
"</div>")}))
201201
(generate-string (airtable/kwdize new-bio))))))
202202

203203
(defn index-of [e coll] (first (keep-indexed #(if (= e %2)

0 commit comments

Comments
 (0)