hide sha in the file tree

This commit is contained in:
tdurieux
2021-08-13 00:13:08 +02:00
parent 47f44fe41e
commit 70140bfb4b
3 changed files with 12 additions and 9 deletions

View File

@@ -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);
}