Skip to content

Commit

Permalink
update config name
Browse files Browse the repository at this point in the history
  • Loading branch information
devketanpro committed Nov 6, 2024
1 parent 06e91ad commit 651f47b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion newsroom/agenda/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def send_coverage_request_email(user, message, item):
email = user.get("email")

# send coverage request email copy to current User.
cc = [email] if app.config.get("INCLUDE_CURRENT_USER_IN_CC") else []
cc = [email] if app.config.get("COVERAGE_REQUEST_EMAIL_CC_CURRENT_USER") else []

item_name = item.get("name") or item.get("slugline")
user_company = get_company(user)
Expand Down
2 changes: 1 addition & 1 deletion newsroom/web/default_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -856,4 +856,4 @@
#:
#: .. versionadded:: 2.8
#:
INCLUDE_CURRENT_USER_IN_CC = False
COVERAGE_REQUEST_EMAIL_CC_CURRENT_USER = False

0 comments on commit 651f47b

Please sign in to comment.