Skip to content

Commit 862ba47

Browse files
Hayden SmithHayden Smith
authored andcommitted
quick fix
1 parent 0a2f778 commit 862ba47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ app.get('/api/gradesearch', (req, res) => {
348348
'test1',
349349
'test2',
350350
];
351-
let eachLine = stdout.trim().split('\n')
351+
let eachLine = shellresult.trim().split('\n')
352352
eachLine.sort();
353353
const results = eachLine.map(splitOnFirstSpace);
354354
const filteredResults = results.filter(r => !avoid.includes(r[0]));

0 commit comments

Comments
 (0)