From c76b172a3a6b82a6e170d5db7b9657e8caf80f4b Mon Sep 17 00:00:00 2001 From: Vladislav Veselskiy Date: Wed, 5 Feb 2025 11:50:10 +0300 Subject: [PATCH] Delete unused type ClientConfig. --- fcm.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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,