discourse/app/serializers/web_hook_like_serializer.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
220 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class WebHookLikeSerializer < ApplicationSerializer
has_one :post, serializer: WebHookPostSerializer, embed: :objects
has_one :user, serializer: BasicUserSerializer, embed: :objects
end