mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 09:38:19 +08:00
core: bug fix
This commit is contained in:
1 parent
c8c291fded
commit
e0f38fb0a8
2 files changed
+2
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "3.10.0",
|
||||
"version": "3.10.1",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "src/loader",
|
||||
"module": "src/loader",
|
||||
|
||||
@@ -172,7 +172,7 @@ export class ProblemMainHandler extends ProblemHandler {
|
||||
? [[], 0, 0]
|
||||
: await problem.list(
|
||||
domainId, query,
|
||||
sort.length ? 1 : page, system.get('pagination.problem'),
|
||||
sort?.length ? 1 : page, system.get('pagination.problem'),
|
||||
undefined, this.user._id,
|
||||
);
|
||||
if (total) {
|
||||
|
||||
Reference in new issue
Block a user