Skip to content

Commit

Permalink
hot fix : 관리자면 포인트 99999주기
Browse files Browse the repository at this point in the history
  • Loading branch information
MyunghyunNero committed Nov 23, 2023
1 parent 1e17e73 commit 358b0a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/kusitms/gallae/service/user/UserService.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public void registerNewManager(ManagerRegistratiorDto registrationDto) throws IO
.point(100L)
.build();

newUser.setPoint(100L);
newUser.setPoint(99999L);
userRepository.save(newUser);
LocalDateTime dateTime = LocalDateTime.now().plusHours(9);
LocalDate localDate = dateTime.toLocalDate();
Expand All @@ -86,7 +86,7 @@ public void registerNewManager(ManagerRegistratiorDto registrationDto) throws IO
point.setPointCategory("적립");
point.setPointActivity("회원가입");
point.setTime(localTime);
point.setPointScore(100);
point.setPointScore(99999);
point.setUser(newUser);
pointRepository.save(point);

Expand Down

0 comments on commit 358b0a9

Please sign in to comment.