(@Ctx() ctx: Context)
| 51 | |
| 52 | @Post('/remove') |
| 53 | public async remove(@Ctx() ctx: Context) { |
| 54 | const { name } = ctx.request.body; |
| 55 | await this.pluginManager.uninstall(name); |
| 56 | return true; |
| 57 | } |
| 58 | |
| 59 | public mountCustomPluginsManager(app: Koa) { |
| 60 | const plugins = this.pluginManager.getPlugins(); |
no test coverage detected