Skip to content

Commit 6c2b3d8

Browse files
committed
hotfix: following error
1 parent 05ce7f4 commit 6c2b3d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/user/controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export class UserController {
174174
@User() user: any,
175175
@Res() res: Response,
176176
) {
177-
const result = await this.followUserUseCase.execute(userId, user.id);
177+
const result = await this.followUserUseCase.execute(user.id, userId);
178178
return res.status(HttpStatus.CREATED).json(result); // TODO: into FollowerResponse
179179
}
180180

0 commit comments

Comments
 (0)