This commit is contained in:
undefined committed 2021-03-26 21:00:53 +08:00
1 parent 9cfdbe3aa9
commit 33bc45c5ab
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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,
)