BroBro87 commited on
Commit
f6438e7
·
verified ·
1 Parent(s): 9f5d4ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -261,7 +261,7 @@ def create_gradio_api():
261
  service = CalendarService()
262
 
263
  def handle_connection(entity_id: str, redirect_url: Optional[str] = None) -> str:
264
- response = service.initiate_connection(entity_id, redirect_url)
265
  return response.to_json()
266
 
267
  def check_status(entity_id: str) -> str:
 
261
  service = CalendarService()
262
 
263
  def handle_connection(entity_id: str, redirect_url: Optional[str] = None) -> str:
264
+ response = service.toolset.initiate_connection(entity_id, redirect_url)
265
  return response.to_json()
266
 
267
  def check_status(entity_id: str) -> str: