Skip to content

Commit

Permalink
chore: fcm 코드 주석처리
Browse files Browse the repository at this point in the history
  • Loading branch information
GayeongKimm committed Sep 30, 2024
1 parent 94a4f89 commit d897eed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public class BusUseCase {
@Transactional(rollbackFor = Exception.class)
public Response register(BusReq req) {
busRepository.save(req.mapToBus());
List<String> pushTokens = studentRepository.findAllMembers().stream().map(Member::getPushToken).toList();
fcmClient.sendMessages(pushTokens, "귀가버스 신청", "귀가 버스 신청이 가능해요! 신청해주세요.");
// List<String> pushTokens = studentRepository.findAllMembers().stream().map(Member::getPushToken).toList();
// fcmClient.sendMessages(pushTokens, "귀가버스 신청", "귀가 버스 신청이 가능해요! 신청해주세요.");
return Response.created("버스 등록 성공");
}

Expand Down

0 comments on commit d897eed

Please sign in to comment.