diff --git a/src/domain/point/point.controller.ts b/src/domain/point/point.controller.ts index 67a691e..9ae8018 100644 --- a/src/domain/point/point.controller.ts +++ b/src/domain/point/point.controller.ts @@ -21,8 +21,11 @@ export class PointController { @UseGuards(AccessGuard) @Get('/check') @Docs('checkPoint') - async checkPoint(@User() user: JwtPayload): Promise { - return await this.pointService.checkResPoint(user.id, 40); + async checkPoint( + @User() user: JwtPayload, + @Body() info: { point: number }, + ): Promise { + return await this.pointService.checkResPoint(user.id, info.point); } @UseGuards(AccessGuard)