Skip to content

Commit

Permalink
style: fcm token log
Browse files Browse the repository at this point in the history
  • Loading branch information
hongdosan committed Nov 29, 2023
1 parent e83e740 commit f41285a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
import com.google.firebase.messaging.Notification;

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Service
@RequiredArgsConstructor
public class FcmService {
Expand All @@ -22,7 +24,9 @@ public void createToken(String fcmToken, Long memberId) {
return;
}

log.info("FCM TOKEN before: " + fcmToken);
fcmRepository.saveToken(fcmToken, memberId);
log.info("FCM TOKEN after: " + findTokenByMemberId(memberId));
}

public void deleteTokenByMemberId(Long memberId) {
Expand Down

0 comments on commit f41285a

Please sign in to comment.