Ver código fonte

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

tags/1.9.0
Hunter 1 mês atrás
pai
commit
50050527eb
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      api/fields/file_fields.py

+ 1
- 1
api/fields/file_fields.py Ver arquivo

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



Carregando…
Cancelar
Salvar