File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 2
2
Python client for interacting with Braze APIs.
3
3
"""
4
4
5
- __version__ = '1.0.1 '
5
+ __version__ = '1.0.2 '
Original file line number Diff line number Diff line change @@ -7,7 +7,11 @@ def plugin_settings(settings):
7
7
"""
8
8
Common settings for braze app
9
9
"""
10
+ env_tokens = getattr (settings , "ENV_TOKENS" , {})
11
+
10
12
# BRAZE API SETTINGS
11
- settings .EDX_BRAZE_API_KEY = None
12
- settings .EDX_BRAZE_API_SERVER = None
13
- settings .BRAZE_COURSE_ENROLLMENT_CANVAS_ID = ""
13
+ settings .EDX_BRAZE_API_KEY = env_tokens .get ("EDX_BRAZE_API_KEY" , None )
14
+ settings .EDX_BRAZE_API_SERVER = env_tokens .get ("EDX_BRAZE_API_SERVER" , None )
15
+ settings .BRAZE_COURSE_ENROLLMENT_CANVAS_ID = env_tokens .get (
16
+ "BRAZE_COURSE_ENROLLMENT_CANVAS_ID" , ""
17
+ )
You can’t perform that action at this time.
0 commit comments