Skip to content

Commit

Permalink
[CI Fix] Update CUReviews API and Update Node Version (#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
andxu282 authored Feb 14, 2024
1 parent 6c3b6fc commit 4d9b631
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '20'
cache: 'npm'
- name: NPM Install
run: npm install
Expand Down
2 changes: 1 addition & 1 deletion src/components/BottomBar/BottomBarState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const getReviews = (
classDifficulty: number;
classWorkload: number;
}> =>
fetch('https://www.cureviews.org/v2/getCourseByInfo', {
fetch('https://www.cureviews.org/api/getCourseByInfo', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ subject: subject.toLowerCase(), number }),
Expand Down

0 comments on commit 4d9b631

Please sign in to comment.