(domainId: string, star: boolean)
| 454 | |
| 455 | @param('star', Types.Boolean) |
| 456 | async postStar(domainId: string, star: boolean) { |
| 457 | await problem.setStar(domainId, this.pdoc.docId, this.user._id, star); |
| 458 | this.back({ star }); |
| 459 | } |
| 460 | } |
| 461 | |
| 462 | export class ProblemSubmitHandler extends ProblemDetailHandler { |