Fix markdown property on edit status

This commit is contained in:
KMY 2023-04-12 16:37:40 +09:00
parent 25c3915728
commit 8db2f96c36
5 changed files with 10 additions and 2 deletions

View file

@ -19,6 +19,7 @@ module StatusSnapshotConcern
status_id: id,
text: text,
spoiler_text: spoiler_text,
markdown: markdown,
sensitive: sensitive,
ordered_media_attachment_ids: ordered_media_attachment_ids&.dup || media_attachments.pluck(:id),
media_descriptions: ordered_media_attachments.map(&:description),

View file

@ -15,6 +15,7 @@
# media_descriptions :text is an Array
# poll_options :string is an Array
# sensitive :boolean
# markdown :boolean default(FALSE)
#
class StatusEdit < ApplicationRecord