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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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