mirror of https://github.com/langgenius/dify.git
fix: Correctly map source_url to preview_url in file fields (#25957)
This commit is contained in:
parent
a39b185627
commit
50050527eb
|
|
@ -32,7 +32,7 @@ file_fields = {
|
|||
"mime_type": fields.String,
|
||||
"created_by": fields.String,
|
||||
"created_at": TimestampField,
|
||||
"preview_url": fields.String,
|
||||
"preview_url": fields.String(attribute="source_url"),
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue