diff --git a/fcm.go b/fcm.go index 29ab4ab..1fefc92 100644 --- a/fcm.go +++ b/fcm.go @@ -111,7 +111,7 @@ func (c *Client) SendMessage(ctx context.Context, msg Message) (SendResponse, er return c.doSendRequest(sendRequest, true) } -func (c *Client) ValidateMessage(msg Message) (SendResponse, error) { +func (c *Client) ValidateMessage(ctx context.Context, msg Message) (SendResponse, error) { sendRequest := SendRequest{ ValidateOnly: true, Message: msg,