BroBro87 commited on
Commit
6b07e6c
·
verified ·
1 Parent(s): 55bdbe4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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
- 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
 
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