Skip to content

Commit

Permalink
docs: 메서드 설명 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Jul 11, 2023
1 parent 65b0a7c commit feaa8bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backend/src/users/users.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ export default class UsersService {
this.usersRepository = new UsersRepository();
}

/**
* 기존 사용자 배열에 대출과 연체 정보를 추가하여 반환합니다.
*
* @returns 사용자의 대출 정보를 포함한 사용자 정보 배열
*/
async withLendingInfo(users: models.User[]): Promise<models.User[]> {
const usersIdList = users.map((user) => ({ userId: user.id }));
const lending = await this.usersRepository
Expand Down

0 comments on commit feaa8bd

Please sign in to comment.