chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-04-12 22:11:10 -05:00
parent cb6e77be3e
commit 20544d412e
3 changed files with 12 additions and 8 deletions
+3 -1
View File
@@ -2457,7 +2457,9 @@ async def update_task(
try:
status = status.strip().lower()
if status not in VALID_TASK_STATUSES:
return json.dumps({'error': f'Invalid status: {status}. Must be one of: {", ".join(sorted(VALID_TASK_STATUSES))}'})
return json.dumps(
{'error': f'Invalid status: {status}. Must be one of: {", ".join(sorted(VALID_TASK_STATUSES))}'}
)
all_tasks = await Chats.get_chat_tasks_by_id(__chat_id__)