Add trend management to admin API (#24257)

This commit is contained in:
Robert R George 2023-04-18 02:33:30 -07:00 committed by GitHub
parent 1153531e92
commit 4db8230194
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 419 additions and 12 deletions

View file

@ -0,0 +1,9 @@
# frozen_string_literal: true
class REST::Admin::Trends::StatusSerializer < REST::StatusSerializer
attributes :requires_review
def requires_review
object.requires_review?
end
end