discourse-akismet/serializers/reviewable_akismet_post_voting_comment_serializer.rb
Juan David Martínez Cubillos 664cc3f828
FEATURE: Implement Akismet flag and review system for PostVotingComments (#112)
* FEATURE: Implement Akismet flag and review system for PostVotingComments

* polished bugs and completed reviewables implementation

* adding test plugin dependecies

* rubocop fix

* syntax tree fix

* deleted comments

* added requested changes

* linter fixes

* refactored #before_check in post voting bouncer
2024-01-11 16:04:57 -05:00

7 lines
217 B
Ruby

# frozen_string_literal: true
require_dependency "reviewable_serializer"
class ReviewableAkismetPostVotingCommentSerializer < ReviewableSerializer
payload_attributes :comment_cooked, :post_id, :external_error
end