Skip to content

Commit

Permalink
Merge branch 'old-dev' of https://github.com/gtech-mulearn/mulearn in…
Browse files Browse the repository at this point in the history
…to old-dev
  • Loading branch information
AswinAsok committed Jun 22, 2023
2 parents 6e7623e + d5d7df5 commit a08a6ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const MonthlyLeaderboard = () => {

useEffect(() => {
axios
.get(`${process.env.REACT_APP_BACKEND_URL}/api/v1/leaderboard/college-monthly/`)
.get('https://mulearn.org/api/v1/leaderboard/college-monthly/')
.then(function (response) {
// console.log(response.data.response);
setColleges(response.data.response);
Expand All @@ -21,7 +21,7 @@ const MonthlyLeaderboard = () => {
});

axios
.get(`${process.env.REACT_APP_BACKEND_URL}/api/v1/leaderboard/students-monthly/`)
.get('https://mulearn.org/api/v1/leaderboard/students-monthly/')
.then(function (response) {
// console.log(response.data.response);
setStudents(response.data.response);
Expand Down
4 changes: 2 additions & 2 deletions src/Pages/LeaderBoard/leaderBoard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const LeaderBoard = () => {

useEffect(() => {
axios
.get(`${process.env.REACT_APP_BACKEND_URL}/api/v1/leaderboard/college/`)
.get('https://mulearn.org/api/v1/leaderboard/college/')
.then(function (response) {
// console.log(response.data.response);
setColleges(response.data.response);
Expand All @@ -22,7 +22,7 @@ const LeaderBoard = () => {
});

axios
.get(`${process.env.REACT_APP_BACKEND_URL}/api/v1/leaderboard/students/`)
.get('https://mulearn.org/api/v1/leaderboard/students/')
.then(function (response) {
// console.log(response.data.response);
setStudents(response.data.response);
Expand Down

0 comments on commit a08a6ca

Please sign in to comment.