Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -120,11 +120,12 @@ class CalendarService:
|
|
120 |
def initiate_connection(self, entity_id: str, redirect_url: Optional[str] = None) -> APIResponse:
|
121 |
try:
|
122 |
if not redirect_url:
|
123 |
-
redirect_url = "https://
|
124 |
|
125 |
connection_request = self.toolset.initiate_connection(
|
126 |
entity_id=entity_id,
|
127 |
-
app=App.GOOGLECALENDAR
|
|
|
128 |
)
|
129 |
|
130 |
self.connections[entity_id] = {
|
|
|
120 |
def initiate_connection(self, entity_id: str, redirect_url: Optional[str] = None) -> APIResponse:
|
121 |
try:
|
122 |
if not redirect_url:
|
123 |
+
redirect_url = "https://calendar-wrapped-eight.vercel.app/"
|
124 |
|
125 |
connection_request = self.toolset.initiate_connection(
|
126 |
entity_id=entity_id,
|
127 |
+
app=App.GOOGLECALENDAR,
|
128 |
+
redirect_url=redirect_url
|
129 |
)
|
130 |
|
131 |
self.connections[entity_id] = {
|