mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: consistent and future-proof upload storage pattern
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class UploadSerializer < ApplicationSerializer
|
||||
|
||||
attributes :url, :original_filename, :filesize, :width, :height
|
||||
attributes :id, :url, :original_filename, :filesize, :width, :height
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user