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

Update app.py

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