Skip to content

Commit

Permalink
bugfix: fix zid string for sample user login (chamhayden#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddyyyh authored May 4, 2023
1 parent cd80202 commit 69c4710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/student_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const getStudentIds = (term) => {
resolve([]);
return;
} else {
const zids = stdout.trim().split('\n');
const zids = stdout.trim().slice(1).split('\n');
resolve([...zids, ...config.TERMS[term].TUTOR_ID_LIST, ...config.TERMS[term].AUDIT_ID_LIST]);
return;
}
Expand Down

0 comments on commit 69c4710

Please sign in to comment.