From f5909b069d89fcd4c1df249b650cb2e782f56277 Mon Sep 17 00:00:00 2001 From: Raydo Matthee Date: Sun, 2 Jun 2024 04:02:27 +0200 Subject: [PATCH] Update setup-environment.yml --- .github/workflows/setup-environment.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/setup-environment.yml b/.github/workflows/setup-environment.yml index d85197f..98421fe 100644 --- a/.github/workflows/setup-environment.yml +++ b/.github/workflows/setup-environment.yml @@ -211,10 +211,10 @@ jobs: }); // Redirect to course materials page or update UI accordingly }) - .catch((error) => { + .catch((error) => { alert("Registration failed: " + error.message); - }); - } + }); + } // Function to update progress function updateProgress(section, item) {