Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -117,11 +117,11 @@ class CalendarService:
|
|
117 |
|
118 |
def check_connection_status(self, entity_id: str) -> dict:
|
119 |
try:
|
120 |
-
if not self.connection_request:
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
entity_id = self.toolset.get_entity(id=entity_id)
|
126 |
connection = entity_id.get_connection()
|
127 |
status = connection.connectionStatus
|
|
|
117 |
|
118 |
def check_connection_status(self, entity_id: str) -> dict:
|
119 |
try:
|
120 |
+
# if not self.connection_request:
|
121 |
+
# return {
|
122 |
+
# 'success': False,
|
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.connectionStatus
|