Skip to content

Commit 07a180e

Browse files
committed
fix process
1 parent 1533bfe commit 07a180e

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/worker.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,7 @@ def get_chat_messages(db_path: Path) -> Dict[str, Dict[str, Any]]:
6464

6565
# Query all messages with their related chat and submission info
6666
cursor.execute('''
67-
SELECT
68-
cm.*,
69-
sc.SubmissionID,
70-
s.UserID
71-
FROM chat_messages cm
72-
JOIN submission_chats sc ON cm.SubmissionChatID = sc.SubmissionChatID
73-
JOIN submissions s ON sc.SubmissionID = s.SubmissionID
67+
SELECT * FROM results
7468
''')
7569

7670
messages = {}

0 commit comments

Comments
 (0)