Skip to content

Commit

Permalink
Update default authentication_flow_host
Browse files Browse the repository at this point in the history
  • Loading branch information
DEENUU1 committed Jan 23, 2024
1 parent e67bedb commit 3b58455
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/ai/integration/google_calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
class Calendar:

def __init__(self) -> None:
self._calendar = GoogleCalendar(settings.GOOGLE_CALENDAR_EMAIL, credentials_path="credentials.json", authentication_flow_port=8081)
self._calendar = GoogleCalendar(
settings.GOOGLE_CALENDAR_EMAIL,
credentials_path="credentials.json",
authentication_flow_port=8081,
authentication_flow_host="0.0.0.0"
)
self._calendar_ids = settings.GOOGLE_CALENDARS
self.debug: bool = settings.GOOGLE_CALENDAR_DEBUG

Expand Down

0 comments on commit 3b58455

Please sign in to comment.