Add channel_id to fcm data
All checks were successful
Build Docker and Deploy / Build Docker Container (push) Successful in 2m8s
Build Docker and Deploy / Deploy to Server (push) Successful in 6s

This commit is contained in:
Mike Schwörer 2024-06-15 20:13:17 +02:00
parent b68f3bdb23
commit e6fbf85e6e
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF

View File

@ -84,6 +84,7 @@ func (fb FirebaseConnector) SendNotification(ctx context.Context, user models.Us
"trimmed": langext.Conditional(msg.NeedsTrim(), "true", "false"),
"title": msg.Title,
"channel": channel.DisplayName,
"channel_id": channel.ChannelID,
"body": langext.Coalesce(msg.TrimmedContent(), ""),
},
}