From d3fbef003767a12e671a982e45bb575116943a47 Mon Sep 17 00:00:00 2001 From: Jack Luar <39641663+luarss@users.noreply.github.com> Date: Wed, 10 Jul 2024 01:31:56 +0000 Subject: [PATCH] chore: update service account file path and variable names Signed-off-by: Jack Luar <39641663+luarss@users.noreply.github.com> --- frontend/utils/feedback.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/utils/feedback.py b/frontend/utils/feedback.py index 93e2de5..1987ad4 100644 --- a/frontend/utils/feedback.py +++ b/frontend/utils/feedback.py @@ -98,7 +98,7 @@ def submit_feedback_to_google_sheet( "https://www.googleapis.com/auth/drive", ] - creds = Credentials.from_service_account_file(SERVICE_ACCOUNT_FILE, scopes=SCOPE) # type: ignore + creds = Credentials.from_service_account_file(service_account_file, scopes=scope) # type: ignore client = gspread.authorize(creds) # type: ignore sheet_id = os.getenv("FEEDBACK_SHEET_ID", "")