From 91cfa88b3d35eb30e37f8d06f467c5d52888bf1f Mon Sep 17 00:00:00 2001
From: Kamran Ahmed <kamranahmed.se@gmail.com>
Date: Wed, 29 Jan 2025 19:31:43 +0000
Subject: [PATCH] Fix broken course url

---
 src/components/SQLCourse/AccountButton.tsx | 2 +-
 src/components/SQLCourse/BuyButton.tsx     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/SQLCourse/AccountButton.tsx b/src/components/SQLCourse/AccountButton.tsx
index 79ce9539e..3eda765dd 100644
--- a/src/components/SQLCourse/AccountButton.tsx
+++ b/src/components/SQLCourse/AccountButton.tsx
@@ -58,7 +58,7 @@ export function AccountButton() {
 
   return (
     <a
-      href={`${import.meta.env.PUBLIC_COURSE_APP_URL}/sql`}
+      href={`${import.meta.env.PUBLIC_COURSE_APP_URL}/master-sql`}
       className={`${buttonClasses} animate-fade-in`}
     >
       Start Learning
diff --git a/src/components/SQLCourse/BuyButton.tsx b/src/components/SQLCourse/BuyButton.tsx
index db99b03f6..d73a27ce2 100644
--- a/src/components/SQLCourse/BuyButton.tsx
+++ b/src/components/SQLCourse/BuyButton.tsx
@@ -101,7 +101,7 @@ export function BuyButton(props: BuyButtonProps) {
 
     const hasEnrolled = !!courseProgress?.enrolledAt;
     if (hasEnrolled) {
-      window.location.href = `${import.meta.env.PUBLIC_COURSE_APP_URL}/sql`;
+      window.location.href = `${import.meta.env.PUBLIC_COURSE_APP_URL}/master-sql`;
       return;
     }