mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01: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",
|
"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",
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in new issue
Block a user