Skip to content

Commit

Permalink
Merge pull request #118 from 00sOrg/Fix/117
Browse files Browse the repository at this point in the history
🔨 [Fix] Fix path variable of Favorite reject api
  • Loading branch information
gitwub5 authored Sep 21, 2024
2 parents a5c9e13 + 30d5e65 commit 0a7b663
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 0a7b663

Please sign in to comment.