From ebcbe1cd9208191c0589d7fe538c6ac13470abe6 Mon Sep 17 00:00:00 2001 From: Alejandro Cardenas Date: Tue, 19 Dec 2023 14:40:41 -0500 Subject: [PATCH] refactor: allow editing of ANONYMOUS_SURVEY_REPORT by env tokens (#33954) --- lms/envs/production.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/envs/production.py b/lms/envs/production.py index 72329b5a59f5..3d58a3bde81e 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -1129,7 +1129,7 @@ def get_env_setting(setting): SURVEY_REPORT_EXTRA_DATA = ENV_TOKENS.get('SURVEY_REPORT_EXTRA_DATA', {}) SURVEY_REPORT_ENDPOINT = ENV_TOKENS.get('SURVEY_REPORT_ENDPOINT', 'https://hooks.zapier.com/hooks/catch/11595998/3ouwv7m/') -ANONYMOUS_SURVEY_REPORT = False +ANONYMOUS_SURVEY_REPORT = ENV_TOKENS.get('ANONYMOUS_SURVEY_REPORT', False) SURVEY_REPORT_CHECK_THRESHOLD = ENV_TOKENS.get('SURVEY_REPORT_CHECK_THRESHOLD', 6)