core: add domainId to problem/add event

This commit is contained in:
undefined committed 2021-12-07 21:22:08 +08:00
1 parent 3f872a7b84
commit d565d3f935
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -105,6 +105,7 @@ export class ProblemModel {
args.content = content;
args.owner = owner;
args.docType = document.TYPE_PROBLEM;
args.domainId = domainId;
await bus.emit('problem/add', args, result);
return result;
}