discourse/app/serializers/reviewable_note_serializer.rb
Gary Pendergast 599404de31
DEV: Add a ReviewableNote model, and tie it into the Reviewable model. (#33047)
As part of the review queue refresh, we'll be adding the ability for moderators to make notes on individual reviewable items. As a first step, this change adds the new model and associated backend code.
2025-06-04 09:33:02 +10:00

7 lines
210 B
Ruby

# frozen_string_literal: true
class ReviewableNoteSerializer < ApplicationSerializer
attributes :id, :content, :created_at, :updated_at
has_one :user, serializer: BasicUserSerializer, embed: :objects
end