We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7aaf03c + 12e7bfe commit 5db446bCopy full SHA for 5db446b
src/db/file/repo.ts
@@ -15,7 +15,7 @@ const isBlank = (str: string) => {
15
return !str || /^\s*$/.test(str);
16
};
17
18
-export const getRepos = async (query: any = {}) => {
+export const getRepos = async (query: any = {}) => {
19
return new Promise<Repo[]>((resolve, reject) => {
20
db.find(query, (err: Error, docs: Repo[]) => {
21
if (err) {
src/service/routes/repo.js
@@ -5,9 +5,7 @@ const { getProxyURL } = require('../urls');
5
6
router.get('/', async (req, res) => {
7
const proxyURL = getProxyURL(req);
8
- const query = {
9
- type: 'push',
10
- };
+ const query = {};
11
12
for (const k in req.query) {
13
if (!k) continue;
0 commit comments