mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Interface for reviewing queued posts
This commit is contained in:
14
app/serializers/queued_post_serializer.rb
Normal file
14
app/serializers/queued_post_serializer.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
class QueuedPostSerializer < ApplicationSerializer
|
||||
attributes :id,
|
||||
:queue,
|
||||
:user_id,
|
||||
:state,
|
||||
:topic_id,
|
||||
:approved_by_id,
|
||||
:rejected_by_id,
|
||||
:raw,
|
||||
:post_options,
|
||||
:created_at
|
||||
|
||||
has_one :user, serializer: BasicUserSerializer, embed: :object
|
||||
end
|
||||
Reference in New Issue
Block a user