BroBro87 commited on
Commit
66a833c
·
verified ·
1 Parent(s): 5b1e4ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -19,12 +19,9 @@ class CalendarWrappedAPI:
19
 
20
  def initiate_connection(self, entity_id, redirect_url=None):
21
  """Initialize connection using entity_id (username)"""
22
- if redirect_url is None:
23
- redirect_url = "https://yourwebsite.com/connection/success"
24
-
25
  try:
26
  connection_request = self.toolset.initiate_connection(
27
- redirect_url=redirect_url,
28
  entity_id=entity_id,
29
  app=App.GOOGLECALENDAR
30
  )
 
19
 
20
  def initiate_connection(self, entity_id, redirect_url=None):
21
  """Initialize connection using entity_id (username)"""
22
+
 
 
23
  try:
24
  connection_request = self.toolset.initiate_connection(
 
25
  entity_id=entity_id,
26
  app=App.GOOGLECALENDAR
27
  )