Skip to content

Commit

Permalink
Issue #PS-000 chore: Updated .env
Browse files Browse the repository at this point in the history
  • Loading branch information
Rushikesh-Sonawane99 committed Sep 12, 2024
1 parent eff348c commit b3b727b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ NEXT_PUBLIC_NOTIFICATION_BASE_URL=https://notification.prathamdigital.org
# NEXT_PUBLIC_NOTIFICATION_BASE_URL=https://qa.prathamteacherapp.tekdinext.com/notification-service
NEXT_PUBLIC_COURSE_PLANNER_API_URL=https://courseplan.tekdinext.com/project/v1
NEXT_PUBLIC_SUNBIRDSAAS_API_URL=https://sunbirdsaas.com
NEXT_PUBLIC_FRAMEWORK_API_URL=https://sunbirdsaas.com/api
2 changes: 1 addition & 1 deletion src/components/FrameworkCategories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const FrameworkCategories: React.FC<FrameworkCategoriesProps> = ({
const handleBMGS = async () => {
const userStateName = localStorage.getItem('userStateName');
try {
const url = `${process.env.NEXT_PUBLIC_FRAMEWORK_API_URL}/framework/v1/read/${frameworkId}`;
const url = `${process.env.NEXT_PUBLIC_SUNBIRDSAAS_API_URL}/api/framework/v1/read/${frameworkId}`;
const boardData = await fetch(url).then((res) => res.json());
const frameworks = boardData?.result?.framework;
setFramework(frameworks);
Expand Down

0 comments on commit b3b727b

Please sign in to comment.