mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-01 06:19:33 +02:00
hide sha in the file tree
This commit is contained in:
1 parent
47f44fe41e
commit
70140bfb4b
3 files changed
+12
-9
No files matched your search
@@ -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