mirror of
https://github.com/MODSetter/SurfSense.git
synced 2025-09-11 23:04:38 +00:00
update frontend redirection for airtable connector
This commit is contained in:
parent
6b8295c133
commit
4c8522fcfc
1 changed files with 4 additions and 3 deletions
|
@ -250,9 +250,10 @@ async def airtable_callback(
|
|||
await session.commit()
|
||||
logger.info(f"Successfully saved Airtable connector for user {user_id}")
|
||||
|
||||
# Redirect to frontend success page
|
||||
frontend_url = f"{config.NEXT_FRONTEND_URL}/dashboard/{space_id}/connectors"
|
||||
return RedirectResponse(url=frontend_url)
|
||||
# Redirect to the frontend success page
|
||||
return RedirectResponse(
|
||||
url=f"{config.NEXT_FRONTEND_URL}/dashboard/{space_id}/connectors/add/airtable-connector?success=true"
|
||||
)
|
||||
|
||||
except ValidationError as e:
|
||||
await session.rollback()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue