Skip to content

Commit

Permalink
refactor: res 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
NaayoungKwon authored and soomanbaek committed Nov 21, 2022
1 parent c12a6cd commit cdedd13
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions server/apps/api/src/user/user.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ export class UserController {
// }

@Post('following/:id')
async addFollowing(
@Param('id', ObjectIdValidationPipe) id: string,
@Res({ passthrough: true }) res: Response,
) {
async addFollowing(@Param('id', ObjectIdValidationPipe) id: string) {
try {
const myId = '63786b635d4f08bbe0c940de';
// TODO: Request Header에서 access token으로 현재 사용자 알아내기
Expand Down

0 comments on commit cdedd13

Please sign in to comment.