fix: get count missing name (#1674)

Co-authored-by: zhixiang.tzx <zhixiang.tzx@alibaba-inc.com>
This commit is contained in:
Solais
2021-11-07 20:28:06 +08:00
committed by GitHub
parent ee9fc4f349
commit 37ba629028

View File

@@ -95,7 +95,7 @@ exports.getDownloadTotal = function* (name) {
}
}
if (name) {
download.total = yield downloadTotalService.getTotalByName();
download.total = yield downloadTotalService.getTotalByName(name);
}
return download;
};