mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: fix ranking
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -64,7 +64,7 @@ class DomainRankHandler extends Handler {
|
||||
100,
|
||||
);
|
||||
const udict = await user.getList(domainId, dudocs.map((dudoc) => dudoc.uid));
|
||||
const udocs = Object.values(udict);
|
||||
const udocs = dudocs.map((i) => udict[i.uid]);
|
||||
this.response.template = 'ranking.html';
|
||||
this.response.body = {
|
||||
udocs, upcount, ucount, page,
|
||||
|
||||
Reference in new issue
Block a user