Skip to content

Commit

Permalink
test: fcm 전송 안되는 문제 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
GGHDMS committed Aug 26, 2024
1 parent fc99aef commit 3870616
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,18 @@ class FCMCallService(

logger.info { "Authorization token: $authorization" }

return fcmClient.sendPushNotification(
authorization,
val fcmRequest =
makeMessage(
token,
title,
body,
),
)

logger.info { "FCM request: $fcmRequest" }

return fcmClient.sendPushNotification(
authorization,
fcmRequest,
)
} catch (e: Exception) {
logger.error { e }
Expand Down

0 comments on commit 3870616

Please sign in to comment.