diff --git a/BE/src/users/application/users.service.ts b/BE/src/users/application/users.service.ts index 7035c3e3..87667868 100644 --- a/BE/src/users/application/users.service.ts +++ b/BE/src/users/application/users.service.ts @@ -51,7 +51,10 @@ export class UsersService { userCode, ); if (!userBlockedUser) throw new InvalidAllowRequestException(); - await this.userBlockedUserRepository.repository.delete(userBlockedUser); + await this.userBlockedUserRepository.deleteByUserIdAndBlockedUserId( + user.id, + blockedUser.id, + ); return AllowUserResponse.from(userBlockedUser); }