panhui 2 жил өмнө
parent
commit
594439a8cb

+ 1 - 1
src/web/web.controller.ts

@@ -42,7 +42,7 @@ export class WebController {
         return await this.webService.getAbility(Number(id))
     }
 
-    @Put('/connect')
+    @Post('/connect/save')
     @Public()
     public async createConnect(@Body() connect: Partial<Connect>) {
         return await this.webService.saveConnect(connect)