Skip to content

Commit

Permalink
Fix gmail auth to return empty string instead of response object on e…
Browse files Browse the repository at this point in the history
…rror
  • Loading branch information
scottmx81 committed Nov 11, 2024
1 parent 65c1520 commit 93b45b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/tools/gmail/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def retrieve_auth_token(
logger.error(
event=f"[Gmail] Error retrieving auth token: {response_body}"
)
return response
return ""

tool_auth_crud.create_tool_auth(
session,
Expand Down

0 comments on commit 93b45b7

Please sign in to comment.