(domainId: string, content: string)
| 867 | |
| 868 | @param('content', Types.Content) |
| 869 | async postSubmit(domainId: string, content: string) { |
| 870 | this.checkPerm(PERM.PERM_CREATE_PROBLEM_SOLUTION); |
| 871 | const psid = await solution.add(domainId, this.pdoc.docId, this.user._id, content); |
| 872 | this.back({ psid }); |
| 873 | } |
| 874 | |
| 875 | @param('content', Types.Content) |
| 876 | @param('psid', Types.ObjectId) |