Skip to content

Commit 3028532

Browse files
committed
fix: get secret
1 parent ef65757 commit 3028532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def set_up_settings(service_base_dir: Path, service_name: str):
126126
GH_REPO = "codeforlife-workspace"
127127
GH_FILE = "CONTRIBUTING.md"
128128
GH_CLIENT_ID = os.environ["GH_CLIENT_ID"]
129-
GH_CLIENT_SECRET = SECRETS["GH_CLIENT_SECRET"]
129+
GH_CLIENT_SECRET = SECRETS.get("GH_CLIENT_SECRET")
130130

131131
# Installed Apps
132132
# https://docs.djangoproject.com/en/3.2/ref/settings/#installed-apps

0 commit comments

Comments
 (0)