From 2e8842065c7b360323546c7882c7c603bf161ebe Mon Sep 17 00:00:00 2001 From: Shiva Menta Date: Mon, 11 Nov 2024 00:23:42 -0500 Subject: [PATCH] Auth Change --- backend/courses/management/commands/sync_path_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/courses/management/commands/sync_path_status.py b/backend/courses/management/commands/sync_path_status.py index df83404c..a6fbf013 100644 --- a/backend/courses/management/commands/sync_path_status.py +++ b/backend/courses/management/commands/sync_path_status.py @@ -17,7 +17,7 @@ path_semaphore = asyncio.Semaphore(25) webhook_semaphore = asyncio.Semaphore(25) -auth = base64.standard_b64encode("webhook:password".encode("ascii")) +auth = base64.standard_b64encode(f"{settings.WEBHOOK_URL}:{settings.WEBHOOK_PASSWORD}".encode("ascii")) def map_path_to_opendata(course_status):