Skip to content

Commit 05e575d

Browse files
fix(fcm): Change DirectBootOK per Go initialisms (firebase#645)
1 parent bbd5162 commit 05e575d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎messaging/messaging.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ type AndroidConfig struct {
121121
Data map[string]string `json:"data,omitempty"` // if specified, overrides the Data field on Message type
122122
Notification *AndroidNotification `json:"notification,omitempty"`
123123
FCMOptions *AndroidFCMOptions `json:"fcm_options,omitempty"`
124-
DirectBootOk bool `json:"direct_boot_ok,omitempty"`
124+
DirectBootOK bool `json:"direct_boot_ok,omitempty"`
125125
}
126126

127127
// MarshalJSON marshals an AndroidConfig into JSON (for internal use only).

‎messaging/messaging_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ var validMessages = []struct {
148148
name: "AndroidDataMessage",
149149
req: &Message{
150150
Android: &AndroidConfig{
151-
DirectBootOk: true,
151+
DirectBootOK: true,
152152
CollapseKey: "ck",
153153
Data: map[string]string{
154154
"k1": "v1",

0 commit comments

Comments
 (0)