BroBro87 commited on
Commit
0199907
·
verified ·
1 Parent(s): e00e6f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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://yourwebsite.com/connection/success"
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] = {