refactor: Clean up unused variables and improve code readability

This commit is contained in:
晴猫
2025-05-01 07:24:52 +09:00
parent e4959f0386
commit 45c64208b4
13 changed files with 9 additions and 29 deletions

View File

@@ -26,7 +26,6 @@ def find_messages(
"""
try:
query = db.messages.find(message_filter)
results: List[dict[str, Any]] = []
if limit > 0:
if limit_mode == "earliest":