Refactor map color threshold storage into dedicated settings service
This commit is contained in:
@@ -15,16 +15,16 @@ import structlog
|
||||
|
||||
from app.db import init_db, open_db
|
||||
from app.repositories import settings_repo
|
||||
from app.utils.async_utils import run_blocking
|
||||
from app.utils.setup_utils import (
|
||||
from app.services.settings_service import (
|
||||
get_map_color_thresholds as util_get_map_color_thresholds,
|
||||
)
|
||||
from app.services.settings_service import (
|
||||
set_map_color_thresholds as util_set_map_color_thresholds,
|
||||
)
|
||||
from app.utils.async_utils import run_blocking
|
||||
from app.utils.setup_utils import (
|
||||
get_password_hash as util_get_password_hash,
|
||||
)
|
||||
from app.utils.setup_utils import (
|
||||
set_map_color_thresholds as util_set_map_color_thresholds,
|
||||
)
|
||||
|
||||
if TYPE_CHECKING:
|
||||
import aiosqlite
|
||||
|
||||
Reference in New Issue
Block a user