Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -123,8 +123,8 @@ class CalendarService:
|
|
123 |
# 'error': 'No active connection request found'
|
124 |
# }
|
125 |
entity_id = self.toolset.get_entity(id=entity_id)
|
126 |
-
connection = entity_id.get_connection()
|
127 |
-
status = connection.
|
128 |
#status = self.connection_request.connectionStatus
|
129 |
return {
|
130 |
'success': True,
|
|
|
123 |
# 'error': 'No active connection request found'
|
124 |
# }
|
125 |
entity_id = self.toolset.get_entity(id=entity_id)
|
126 |
+
connection = entity_id.get_connection(app=App.GOOGLECALENDAR)
|
127 |
+
status = connection.status
|
128 |
#status = self.connection_request.connectionStatus
|
129 |
return {
|
130 |
'success': True,
|