Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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 |
)
|