diff --git a/cmd/certsuite/upload/results_spreadsheet/results_spreadsheet.go b/cmd/certsuite/upload/results_spreadsheet/results_spreadsheet.go index 7c873af75..fc3a4706d 100644 --- a/cmd/certsuite/upload/results_spreadsheet/results_spreadsheet.go +++ b/cmd/certsuite/upload/results_spreadsheet/results_spreadsheet.go @@ -73,7 +73,7 @@ func readCSV(fp string) ([][]string, error) { return records, nil } -func CreateSheetsAndDriveServices() (sheetService *sheets.Service, driveService *drive.Service, err error) { +func CreateSheetsAndDriveServices(credentials string) (sheetService *sheets.Service, driveService *drive.Service, err error) { ctx := context.Background() b, err := os.ReadFile(credentials) if err != nil { @@ -321,7 +321,7 @@ func createRawResultsSheet(fp string) (*sheets.Sheet, error) { } func generateResultsSpreadSheet() { - sheetService, driveService, err := CreateSheetsAndDriveServices() + sheetService, driveService, err := CreateSheetsAndDriveServices(credentials) if err != nil { log.Fatalf("Unable to create services: %v", err) }