diff --git a/back/src/wos/wos.controller.ts b/back/src/wos/wos.controller.ts index b47bfcd..29fd751 100644 --- a/back/src/wos/wos.controller.ts +++ b/back/src/wos/wos.controller.ts @@ -17,6 +17,12 @@ export class WosController { return this.wosService.redeemAll(body.fid); } + @Post('redeem') + @HttpCode(200) + async redeem(@Body() body: { fid: string }) { + return this.wosService.redeemAll(body.fid); + } + @Get('users') async listUsers() { return this.wosService.listUsers();