mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
fix: files data missed for message (#4512)
This commit is contained in:
parent
1cca100a48
commit
a10c2ccd41
|
@ -797,7 +797,7 @@ class Message(db.Model):
|
|||
if message_file.transfer_method == 'local_file':
|
||||
upload_file = (db.session.query(UploadFile)
|
||||
.filter(
|
||||
UploadFile.id == message_file.related_id
|
||||
UploadFile.id == message_file.upload_file_id
|
||||
).first())
|
||||
|
||||
url = UploadFileParser.get_image_data(
|
||||
|
|
Loading…
Reference in New Issue
Block a user