hide sha in the file tree

This commit is contained in:
tdurieux committed 2021-08-13 08:26:27 +02:00
1 parent 47f44fe41e
commit 70140bfb4b
3 files changed
+12 -9

No files matched your search

+1 -1
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);
}