Skip to content

Commit

Permalink
fixes #6: search using multiple school IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
mahfoozm committed Jul 9, 2023
2 parents ab6af88 + 3ed3d16 commit e1bfb48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const SCHOOL_IDS = [
];

// for searchProfessor and getProfessor, use a self hosted proxy to bypass CORS restrictions
<<<<<<< HEAD
const searchProfessor = async (name, schoolIDs) => {
for (const schoolID of schoolIDs) {
const response = await fetch(
Expand Down Expand Up @@ -142,4 +143,4 @@ chrome.runtime.onConnect.addListener((port) => {
port.postMessage({error});
});
});
});
});

0 comments on commit e1bfb48

Please sign in to comment.