mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-23 17:49:40 +02:00
Set up CI with ESLint linter and Mocha test runner (#661)
This commit is contained in:
@@ -126,7 +126,7 @@ router.get("/repos", async (req, res) => {
|
||||
sort = {};
|
||||
sort[req.query.sort as string] = -1;
|
||||
}
|
||||
let query = [];
|
||||
const query = [];
|
||||
if (req.query.search) {
|
||||
query.push({ repoId: { $regex: req.query.search } });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user