proposal_contribution email: set contributor to None when contribution is private

This commit is contained in:
Aaron 2019-07-08 16:19:44 -05:00
parent c3449586b6
commit 38cfaa591f
No known key found for this signature in database
GPG Key ID: 3B5B7597106F0A0E
1 changed files with 2 additions and 0 deletions

View File

@ -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',