diff --git a/src/khoj/routers/notion.py b/src/khoj/routers/notion.py index e61b5fd7..7d5ed25d 100644 --- a/src/khoj/routers/notion.py +++ b/src/khoj/routers/notion.py @@ -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)