From 5bf9328400f4371e6ea45c688cbf4360657aba84 Mon Sep 17 00:00:00 2001 From: Chaskiel Grundman Date: Mon, 20 Jun 2022 18:11:28 -0400 Subject: [PATCH] Use constants for clientid fix issue introduced in backport from msfjarvis branch; refer to ClientId and ClientSecret constants instead of (absent) parameters --- handlers_drive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers_drive.go b/handlers_drive.go index c3242c0f..d5fa1ff8 100644 --- a/handlers_drive.go +++ b/handlers_drive.go @@ -364,7 +364,7 @@ func getOauthClient(args cli.Arguments) (*http.Client, error) { } tokenPath := ConfigFilePath(configDir, TokenFilename) - return auth.NewFileSourceClient(clientId, clientSecret, tokenPath, auth.AuthCodeHTTP) + return auth.NewFileSourceClient(ClientId, ClientSecret, tokenPath, auth.AuthCodeHTTP) } func getConfigDir(args cli.Arguments) string {