Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|