fixed attachment.uuid

This commit is contained in:
xxq250 2024-06-05 09:38:09 +08:00
parent d6399e26db
commit 4a4ffea71c
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
json.id attachment.uuid || attachment.uuid
json.id attachment.uuid.blank? ? attachment.id : attachment.uuid
json.title attachment.title
json.description attachment.description
json.filesize number_to_human_size(attachment.filesize)