refactor: clean up unused variables in external api logs router

This commit is contained in:
SmartUp Developer
2026-07-02 15:17:05 +08:00
parent ea3fd64686
commit c70b68d814
-3
View File
@@ -143,9 +143,6 @@ def count_external_api_log_summary(
Uses the same grouping as /summary, returns the count of groups
(not the count of raw log rows).
"""
settings = get_settings()
slow_threshold = slow_ms if slow_ms is not None else settings.external_api_log_slow_ms
q = db.query(
ExternalApiLog.direction,
ExternalApiLog.target_type,