mirror of
https://github.com/discourse/discourse.git
synced 2024-12-03 04:33:40 +08:00
b58867b6e9
Includes support for flags, reviewable users and queued posts, with REST API backwards compatibility. Co-Authored-By: romanrizzi <romanalejandro@gmail.com> Co-Authored-By: jjaffeux <j.jaffeux@gmail.com>
20 lines
334 B
Ruby
20 lines
334 B
Ruby
class ReviewableQueuedPostSerializer < ReviewableSerializer
|
|
|
|
payload_attributes(
|
|
:raw,
|
|
:title,
|
|
:archetype,
|
|
:category,
|
|
:visible,
|
|
:is_warning,
|
|
:first_post_checks,
|
|
:featured_link,
|
|
:reply_to_post_number,
|
|
:is_poll,
|
|
:typing_duration_msecs,
|
|
:composer_open_duration_msecs,
|
|
:tags
|
|
)
|
|
|
|
end
|