mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-03-10 06:35:31 +00:00
hide sha in the file tree
This commit is contained in:
@@ -40,7 +40,7 @@ router.get(
|
||||
const repo = await getRepo(req, res);
|
||||
if (!repo) return;
|
||||
try {
|
||||
res.json(await repo.anonymizedFiles({ force: true }));
|
||||
res.json(await repo.anonymizedFiles({ includeSha: false }));
|
||||
} catch (error) {
|
||||
handleError(error, res);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user