mirror of
https://github.com/langgenius/dify.git
synced 2026-01-04 13:37:22 +00:00
test: add comprehensive unit tests for FeedbackService (#28771)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -86,7 +86,7 @@ class FeedbackService:
|
||||
export_data = []
|
||||
for feedback, message, conversation, app, account in results:
|
||||
# Get the user query from the message
|
||||
user_query = message.query or message.inputs.get("query", "") if message.inputs else ""
|
||||
user_query = message.query or (message.inputs.get("query", "") if message.inputs else "")
|
||||
|
||||
# Format the feedback data
|
||||
feedback_record = {
|
||||
|
||||
Reference in New Issue
Block a user