diff --git a/fcm.go b/fcm.go index 56d4c53..29ab4ab 100644 --- a/fcm.go +++ b/fcm.go @@ -102,7 +102,7 @@ func NewClient(cfg ClientConfig, ts oauth2.TokenSource, hc *http.Client, logger } } -func (c *Client) SendMessage(msg Message) (SendResponse, error) { +func (c *Client) SendMessage(ctx context.Context, msg Message) (SendResponse, error) { sendRequest := SendRequest{ ValidateOnly: false, Message: msg,