Skip to content

Commit

Permalink
reorder variables for consistency with other code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
vpchung committed Jan 16, 2025
1 parent 6399f7c commit 10e56c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def lambda_handler(event, context):
try:
google_client = gspread.service_account(filename=GOOGLE_SHEET_CREDENTIALS_FILE)
except Exception as err:
message = "Private key not found in the credentials file. Please try again."
status_code = 401
message = "Private key not found in the credentials file. Please try again."
else:
try:
wks = google_client.open(GOOGLE_SHEET_TITLE)
Expand Down

0 comments on commit 10e56c1

Please sign in to comment.