Compare commits

...

1 Commits

Author SHA1 Message Date
Henry 9490207cfd remove redundant distinct 2025-07-14 12:27:21 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ async function handleFeedbackQuery(params: {
// First get session IDs with pagination
const sessionQuery = appServer.AppDataSource.getRepository(ChatMessage)
.createQueryBuilder('chat_message')
.select('DISTINCT chat_message.sessionId', 'sessionId')
.select('chat_message.sessionId', 'sessionId')
.where('chat_message.chatflowid = :chatflowid', { chatflowid })
// Apply basic filters