Skip to content

Commit

Permalink
fix: oops
Browse files Browse the repository at this point in the history
  • Loading branch information
DereC4 committed Jul 29, 2024
1 parent 68358de commit 36cd866
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ async function PapaParse(department, num, name, instructor, sem) {
professor: instructor
};

Object.keys(params).forEach(key => {
if (params[key]) {
url.searchParams.append(key, params[key]);
}
});
// Object.keys(params).forEach(key => {
// if (params[key]) {
// url.searchParams.append(key, params[key]);
// }
// });

// temp code below
const url2 = 'https://ut-grade-data.vercel.app/v2/query?department=Computer Science&sem=Fall 2023&num=439&professor=Norman';
Expand Down

0 comments on commit 36cd866

Please sign in to comment.