Propagate flags to configure index command

This commit is contained in:
sabaimran
2023-09-11 10:33:44 -07:00
parent 343854752c
commit 9f42a1a036
2 changed files with 1 additions and 2 deletions

View File

@@ -608,7 +608,7 @@ def update(
logger.warning(error_msg)
raise HTTPException(status_code=500, detail=error_msg)
try:
configure_server(state.config)
configure_server(state.config, regenerate=force, search_type=t)
except Exception as e:
error_msg = f"🚨 Failed to update server via API: {e}"
logger.error(error_msg, exc_info=True)

View File

@@ -1,7 +1,6 @@
# Standard Packages
import logging
import sys
import json
from typing import Optional, Union, Dict
# External Packages