()
| 13 | |
| 14 | class FpsProblemImportHandler extends Handler { |
| 15 | async get() { |
| 16 | this.response.template = 'problem_import_fps.html'; |
| 17 | } |
| 18 | |
| 19 | async run(domainId: string, result: any) { |
| 20 | if (!result?.fps) throw new BadRequestError('Selected file is not a valid FPS problemset.'); |