mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-06-04 22:58:04 +02:00
fix getStats
This commit is contained in:
+1
-1
@@ -460,7 +460,7 @@ module.exports.getStats = async (options) => {
|
|||||||
if (repoConfig == null) {
|
if (repoConfig == null) {
|
||||||
throw "repo_not_found";
|
throw "repo_not_found";
|
||||||
}
|
}
|
||||||
if (repoConfig.mode != "download") {
|
if (repoConfig.options.mode != "download") {
|
||||||
throw "stats_unsupported";
|
throw "stats_unsupported";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user