diff --git a/fcm.go b/fcm.go index 7895d77..1636527 100644 --- a/fcm.go +++ b/fcm.go @@ -92,7 +92,7 @@ type Client struct { func NewClient(projectId string, cfg ClientConfig, ts oauth2.TokenSource, hc *http.Client, logger logr.Logger) *Client { return &Client{ - sendEndpoint: cfg.SendEndpoint, + sendEndpoint: MakeSendEndpoint(projectId), ts: ts, hc: hc, logger: logger,