fix: Correctly map source_url to preview_url in file fields (#25957)

This commit is contained in:
Hunter
2025-09-22 14:31:49 +08:00
committed by GitHub
parent a39b185627
commit 50050527eb

View File

@ -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"),
}