Skip to content

Commit

Permalink
🔨 [Fix] Fix path variable of Favorite reject api
Browse files Browse the repository at this point in the history
  • Loading branch information
seungheon123 committed Sep 21, 2024
1 parent a5c9e13 commit 30d5e65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/members/members.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,12 @@ export class MembersController {
)
async rejectFavoriteRequest(
@Request() req,
@Param('requesterId', ParseIntPipe) requestMemberId: number,
@Param('requestMemberId') requestMemberId: string,
): Promise<void> {
const memberId = req.user.id; // 현재 로그인된 사용자의 ID
await this.favoritesService.rejectFavoriteRequest(
memberId,
requestMemberId,
Number(requestMemberId),
);
}

Expand Down

0 comments on commit 30d5e65

Please sign in to comment.