mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-10 13:26:13 +00:00
Route to config_page, not to deprecated notion_config_page, on notion callback API
This commit is contained in:
@@ -77,7 +77,7 @@ async def notion_auth_callback(request: Request, background_tasks: BackgroundTas
|
||||
f"Notion integration. Owner: {owner}, Workspace ID: {workspace_id}, Workspace Name: {workspace_name}, Bot ID: {bot_id}"
|
||||
)
|
||||
|
||||
notion_redirect = str(request.app.url_path_for("notion_config_page"))
|
||||
notion_redirect = str(request.app.url_path_for("config_page"))
|
||||
|
||||
# Trigger an async job to configure_content. Let it run without blocking the response.
|
||||
background_tasks.add_task(run_in_executor, configure_content, {}, False, SearchType.Notion, user)
|
||||
|
||||
Reference in New Issue
Block a user