We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c214e37 commit fc752dfCopy full SHA for fc752df
adapters/out-web/src/main/kotlin/com/pokit/notification/impl/FcmNotificationSender.kt
@@ -43,7 +43,7 @@ class FcmNotificationSender : NotificationSender {
43
val messages = tokens.map { token ->
44
Message.builder()
45
.setNotification(fcmNotification)
46
- .putData("deepLink", notification.deepLink)
+ .apply { notification.deepLink?.let { putData("deepLink", it) } }
47
.setToken(token)
48
.build()
49
}
0 commit comments