Skip to content

Commit

Permalink
OV-5: * UserId to id
Browse files Browse the repository at this point in the history
  • Loading branch information
stefano-lacorazza committed Aug 29, 2024
1 parent 56eae81 commit d095953
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/bundles/users/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class UserService implements Service {
this.userRepository = userRepository;
}

public async find(userId: string): Promise<UserEntity | null> {
return await this.userRepository.find(userId);
public async find(id: string): Promise<UserEntity | null> {
return await this.userRepository.find(id);
}

public async findByEmail(email: string): Promise<UserEntity | null> {
Expand Down

0 comments on commit d095953

Please sign in to comment.