Potential fix for code scanning alert no. 87: Clear-text logging of sensitive information

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
ي
2026-05-25 17:41:16 +05:30
committed by GitHub
parent cb3666dd7b
commit d0f0c25cf3

View File

@@ -64,7 +64,7 @@ class AutoFillRefreshService:
logger.info(f" - Content types: {research_preferences.get('content_types', 'Not found')}")
if api_keys_data:
logger.info(f" - API providers: {api_keys_data.get('providers', [])}")
logger.info(f" - Total keys: {api_keys_data.get('total_keys', 0)}")
logger.info(" - API key data present: %s", bool(api_keys_data))
else:
logger.warning(f"AutoFillRefreshService: no base context available | user=%s", user_id)