From 82df1ca9826a28fa55b5c5e696c5a8a3629c1081 Mon Sep 17 00:00:00 2001 From: Bethany Seeger Date: Tue, 11 Jun 2024 16:16:48 -0400 Subject: [PATCH] Add necessary env var to quite down log in google drive code. --- .github/workflows/deploy-prod.yaml | 1 + src/main/java/org/mdbenefits/app/cli/GoogleDriveClientImpl.java | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-prod.yaml b/.github/workflows/deploy-prod.yaml index d13ead22..9e48ada1 100644 --- a/.github/workflows/deploy-prod.yaml +++ b/.github/workflows/deploy-prod.yaml @@ -47,6 +47,7 @@ jobs: 'BALTIMORE_COUNTY_GOOGLE_DIR_ID=${{ secrets.PROD_BALTIMORE_COUNTY_GOOGLE_DIR_ID }}' \ 'QUEENANNES_COUNTY_GOOGLE_DIR_ID=${{ secrets.PROD_QUEENANNES_COUNTY_GOOGLE_DIR_ID }}' \ 'GOOGLE_DRIVE_CREDS=${{ secrets.PROD_GOOGLE_DRIVE_CREDS }}' \ + 'GOOGLE_DRIVE_SHARED_ID=${{ secrets.PROD_GOOGLE_DRIVE_SHARED_ID }}' \ 'QUEENANNES_COUNTY_EMAIL_ADDRESSES=${{ secrets.PROD_QUEENANNES_COUNTY_EMAIL_ADDRESSES }}' \ 'BALTIMORE_COUNTY_EMAIL_ADDRESSES=${{ secrets.PROD_BALTIMORE_COUNTY_EMAIL_ADDRESSES }}' \ 'DEFAULT_LOCALE=en' \ diff --git a/src/main/java/org/mdbenefits/app/cli/GoogleDriveClientImpl.java b/src/main/java/org/mdbenefits/app/cli/GoogleDriveClientImpl.java index 295445e1..50c135cd 100644 --- a/src/main/java/org/mdbenefits/app/cli/GoogleDriveClientImpl.java +++ b/src/main/java/org/mdbenefits/app/cli/GoogleDriveClientImpl.java @@ -23,7 +23,6 @@ import com.google.api.services.drive.model.FileList; import java.util.Collections; import lombok.extern.slf4j.Slf4j; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Profile; import org.springframework.stereotype.Component;