fix: Correctly map source_url to preview_url in file fields (#25957)
This commit is contained in:
parent
a39b185627
commit
50050527eb
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ file_fields = {
|
||||||
"mime_type": fields.String,
|
"mime_type": fields.String,
|
||||||
"created_by": fields.String,
|
"created_by": fields.String,
|
||||||
"created_at": TimestampField,
|
"created_at": TimestampField,
|
||||||
"preview_url": fields.String,
|
"preview_url": fields.String(attribute="source_url"),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue