Func NewClient. Add param projectId.
This commit is contained in:
parent
a1fddd32af
commit
678438ace4
2
fcm.go
2
fcm.go
|
@ -89,7 +89,7 @@ type Client struct {
|
|||
logger logr.Logger
|
||||
}
|
||||
|
||||
func NewClient(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{
|
||||
cfg: cfg,
|
||||
ts: ts,
|
||||
|
|
Loading…
Reference in New Issue