mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: fix #62
This commit is contained in:
1 parent
9cfdbe3aa9
commit
33bc45c5ab
2 files changed
+2
-2
No files matched your search
@@ -179,7 +179,7 @@ class UserDetailHandler extends Handler {
|
||||
record.getByUid(domainId, uid, 30),
|
||||
this.user.hasPerm(PERM.PERM_VIEW_PROBLEM)
|
||||
? paginate(
|
||||
problem.getMulti(domainId, { owner: this.user._id }),
|
||||
problem.getMulti(domainId, { owner: uid }),
|
||||
1,
|
||||
100,
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user