Skip to content

Commit fc752df

Browse files
committed
fix : 내보내기 npe
1 parent c214e37 commit fc752df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adapters/out-web/src/main/kotlin/com/pokit/notification/impl/FcmNotificationSender.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class FcmNotificationSender : NotificationSender {
4343
val messages = tokens.map { token ->
4444
Message.builder()
4545
.setNotification(fcmNotification)
46-
.putData("deepLink", notification.deepLink)
46+
.apply { notification.deepLink?.let { putData("deepLink", it) } }
4747
.setToken(token)
4848
.build()
4949
}

0 commit comments

Comments
 (0)