core: bug fix

This commit is contained in:
undefined committed 2022-03-18 23:05:03 +08:00
1 parent c8c291fded
commit e0f38fb0a8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "hydrooj", "name": "hydrooj",
"version": "3.10.0", "version": "3.10.1",
"bin": "bin/hydrooj.js", "bin": "bin/hydrooj.js",
"main": "src/loader", "main": "src/loader",
"module": "src/loader", "module": "src/loader",
+1 -1
View File
@@ -172,7 +172,7 @@ export class ProblemMainHandler extends ProblemHandler {
? [[], 0, 0] ? [[], 0, 0]
: await problem.list( : await problem.list(
domainId, query, domainId, query,
sort.length ? 1 : page, system.get('pagination.problem'), sort?.length ? 1 : page, system.get('pagination.problem'),
undefined, this.user._id, undefined, this.user._id,
); );
if (total) { if (total) {