-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: UsersService setOverDueDay -> withLendingInfo #574
The head ref may contain hidden characters: "usersservice-\uB9AC\uD329\uD130\uB9C1"
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
어디선가 리뷰한적 있는 코드군요
map과 foreach는 배열이 비어있어도 동작에 영향을 주지 않으므로 제거
사용자 명칭이 user와 item으로 다르게 불리던 것을 user로 통일
실제로 유저를 변경하지 않고 대여 기록과 함께 반환하므로
b4c2497
to
feaa8bd
Compare
backend/backend/src/users/users.repository.ts Lines 45 to 60 in 3316b9c
backend/backend/src/users/users.service.ts Lines 45 to 49 in 3316b9c
확인 결과 withLendingsInfo (전 setOverDueDay)의 인자 |
UsersService.setOverDueDay
개요
#544 에서 머지되었다 #567 에서 롤백되었다 다시 돌아왔읍니다...