mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-13 10:52:53 +00:00
fix: fix GitHubDownload
This commit is contained in:
@@ -31,6 +31,12 @@ router.get(
|
||||
if (!repo) return;
|
||||
|
||||
try {
|
||||
if (!(await repo.isReady())) {
|
||||
throw new AnonymousError("repository_not_ready", {
|
||||
object: this,
|
||||
httpStatus: 503,
|
||||
});
|
||||
}
|
||||
const f = new AnonymizedFile({
|
||||
repository: repo,
|
||||
anonymizedPath,
|
||||
|
||||
Reference in New Issue
Block a user