diff --git a/fcm.go b/fcm.go index c1cee13..4eb0751 100644 --- a/fcm.go +++ b/fcm.go @@ -79,9 +79,6 @@ func ReadCredentialsFromFile(filename string) (Credentials, error) { return c, nil } -type ClientConfig struct { -} - type Client struct { sendEndpoint string ts oauth2.TokenSource @@ -89,7 +86,7 @@ type Client struct { logger logr.Logger } -func NewClient(projectId string, cfg ClientConfig, ts oauth2.TokenSource, hc *http.Client, logger logr.Logger) *Client { +func NewClient(projectId string, ts oauth2.TokenSource, hc *http.Client, logger logr.Logger) *Client { return &Client{ sendEndpoint: MakeSendEndpoint(projectId), ts: ts,