Skip to content

Commit

Permalink
Merge pull request #101 from Do-Farming/feat/minjoo/addTimeAtPush/#39
Browse files Browse the repository at this point in the history
push에 시간을 더함
  • Loading branch information
Minjoo-kang123 authored Jul 9, 2024
2 parents 5de75cd + e878c74 commit c0b1c0c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ public int insertDailyChallengeRecord() {
}
List<Group> groups = groupRepository.findActiveGroup(LocalDate.now());
for(Group g : groups){
log.info(g.toString());
String wakeUp = g.getWakeupTime();
if (randomNumber == 1){
challenge += ". Your group's Time is at " + wakeUp;
}
List<GroupMember> groupMembers = groupMemberRepository.findGroupMemberByGroupId(g.getId());
for(GroupMember gm : groupMembers){
String deviceId = gm.getUser().getDeviceId();
Expand Down

0 comments on commit c0b1c0c

Please sign in to comment.