瀏覽代碼

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

tags/1.9.0
Hunter 1 月之前
父節點
當前提交
50050527eb
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      api/fields/file_fields.py

+ 1
- 1
api/fields/file_fields.py 查看文件

@@ -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…
取消
儲存