Use func MakeSendEndpoint.

This commit is contained in:
Владислав Весельский 2025-02-05 11:44:55 +03:00
parent 250cfe9d33
commit d2b252d82a
1 changed files with 1 additions and 1 deletions

2
fcm.go
View File

@ -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,