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
@@ -1,6 +1,6 @@
{ {
"name": "hydrooj", "name": "hydrooj",
"version": "2.20.35", "version": "2.20.36",
"bin": "bin/hydrooj.js", "bin": "bin/hydrooj.js",
"main": "dist/loader.js", "main": "dist/loader.js",
"typings": "dist/loader.d.ts", "typings": "dist/loader.d.ts",
+1 -1
View File
@@ -179,7 +179,7 @@ class UserDetailHandler extends Handler {
record.getByUid(domainId, uid, 30), record.getByUid(domainId, uid, 30),
this.user.hasPerm(PERM.PERM_VIEW_PROBLEM) this.user.hasPerm(PERM.PERM_VIEW_PROBLEM)
? paginate( ? paginate(
problem.getMulti(domainId, { owner: this.user._id }), problem.getMulti(domainId, { owner: uid }),
1, 1,
100, 100,
) )