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