Skip to content

Commit 2ee0b86

Browse files
author
Vova Maksimchuk
authored
Add data_template and server_key to firebase configuration (close #134) (#135)
1 parent ad021a5 commit 2ee0b86

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ type APNConfig struct {
6262

6363
type FirebaseConfig struct {
6464
Enabled bool `json:"enabled"`
65-
NotificationTemplate string `json:"notification_template"`
65+
ServerKey string `json:"server_key"`
66+
NotificationTemplate string `json:"notification_template,omitempty"`
67+
DataTemplate string `json:"data_template,omitempty"`
6668
}
6769

6870
type PushNotificationFields struct {

0 commit comments

Comments
 (0)