diff --git a/dodam-application/dodam-rest-api/src/main/java/b1nd/dodam/restapi/bus/application/BusUseCase.java b/dodam-application/dodam-rest-api/src/main/java/b1nd/dodam/restapi/bus/application/BusUseCase.java index 7b21aae..1eda6f4 100644 --- a/dodam-application/dodam-rest-api/src/main/java/b1nd/dodam/restapi/bus/application/BusUseCase.java +++ b/dodam-application/dodam-rest-api/src/main/java/b1nd/dodam/restapi/bus/application/BusUseCase.java @@ -37,8 +37,8 @@ public class BusUseCase { @Transactional(rollbackFor = Exception.class) public Response register(BusReq req) { busRepository.save(req.mapToBus()); - List pushTokens = studentRepository.findAllMembers().stream().map(Member::getPushToken).toList(); - fcmClient.sendMessages(pushTokens, "귀가버스 신청", "귀가 버스 신청이 가능해요! 신청해주세요."); +// List pushTokens = studentRepository.findAllMembers().stream().map(Member::getPushToken).toList(); +// fcmClient.sendMessages(pushTokens, "귀가버스 신청", "귀가 버스 신청이 가능해요! 신청해주세요."); return Response.created("버스 등록 성공"); }