Skip to content

Commit

Permalink
Don't explicitly set sendUpdates for create_event.
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaAutumn committed Jan 22, 2024
1 parent 43bf95d commit 5b9a714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/appointment/controller/apis/google_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def create_event(self, calendar_id, body, token):
response = None
with build("calendar", "v3", credentials=token, cache_discovery=False) as service:
try:
response = service.events().insert(calendarId=calendar_id, sendUpdates="all", body=body).execute()
response = service.events().insert(calendarId=calendar_id, body=body).execute()
except HttpError as e:
logging.warning(f"[google_client.create_event] Request Error: {e.status_code}/{e.error_details}")

Expand Down

0 comments on commit 5b9a714

Please sign in to comment.