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
@@ -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) {