From d2b252d82a37aa799098baa9fc1fc2dd11e7706c Mon Sep 17 00:00:00 2001 From: Vladislav Veselskiy Date: Wed, 5 Feb 2025 11:44:55 +0300 Subject: [PATCH] Use func MakeSendEndpoint. --- fcm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,