core: drop problem-assign

This commit is contained in:
undefined committed 2022-11-22 10:47:21 +08:00
1 parent 7a4681f1e5
commit 8561ce6cd1
10 files changed
+29 -60

No files matched your search

+2 -2
View File
@@ -344,7 +344,7 @@ class UserDetailHandler extends Handler {
pdocs.push(...Object.values(
await problem.getList(
did, psdocs.map((i) => i.docId), canViewHidden,
this.user.group, false, problem.PROJECTION_LIST, true,
false, problem.PROJECTION_LIST, true,
),
));
}));
@@ -366,7 +366,7 @@ class UserDetailHandler extends Handler {
if (this.user.hasPerm(PERM.PERM_VIEW_PROBLEM)) {
this.response.body.pdict = await problem.getList(
domainId, psdocs.map((i) => i.parentId), canViewHidden,
this.user.group, false, problem.PROJECTION_LIST,
false, problem.PROJECTION_LIST,
);
}
}