From 38cfaa591f078101a1e3a9667626219a0b64b506 Mon Sep 17 00:00:00 2001 From: Aaron Date: Mon, 8 Jul 2019 16:19:44 -0500 Subject: [PATCH] proposal_contribution email: set contributor to None when contribution is private --- backend/grant/email/send.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/grant/email/send.py b/backend/grant/email/send.py index 9e9e90e7..bc89282b 100644 --- a/backend/grant/email/send.py +++ b/backend/grant/email/send.py @@ -85,6 +85,8 @@ def proposal_rejected(email_args): def proposal_contribution(email_args): + if email_args['contribution'].private: + email_args['contributor'] = None return { 'subject': 'You just got a contribution!', 'title': 'You just got a contribution',