Use func MakeSendEndpoint.
This commit is contained in:
parent
250cfe9d33
commit
d2b252d82a
2
fcm.go
2
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 {
|
func NewClient(projectId string, cfg ClientConfig, ts oauth2.TokenSource, hc *http.Client, logger logr.Logger) *Client {
|
||||||
return &Client{
|
return &Client{
|
||||||
sendEndpoint: cfg.SendEndpoint,
|
sendEndpoint: MakeSendEndpoint(projectId),
|
||||||
ts: ts,
|
ts: ts,
|
||||||
hc: hc,
|
hc: hc,
|
||||||
logger: logger,
|
logger: logger,
|
||||||
|
|
Loading…
Reference in New Issue