Skip to content

Commit

Permalink
Fixed code style
Browse files Browse the repository at this point in the history
  • Loading branch information
PahaKoha committed Oct 22, 2023
1 parent 2ed68ef commit 752969c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/domain/service/userListService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ import type UserListRepository from '@repository/userList.repository';


/**
*
* User List service
*/
export default class UserListService {
public readonly repository: UserListRepository;

/**
*
* @param repository
* User List service constructor
* @param repository - userList repository instance
*/
constructor(repository: UserListRepository) {
this.repository = repository;
}

/**
*
* Get all users
*/
public async getAllUsers(): Promise<User[]> {
return await this.repository.getAllUsers();
Expand Down

0 comments on commit 752969c

Please sign in to comment.