Skip to content

Commit

Permalink
add status to show_series_serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfiredrill committed Sep 7, 2023
1 parent 7f6d953 commit 334f05e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/serializers/show_series_serializer.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
class ShowSeriesSerializer < ActiveModel::Serializer
attributes :id, :recurring_interval, :recurring_cadence, :recurring_weekday, :title, :description,
:image_url, :thumb_image_url, :image, :image_filename, :slug, :start_time, :end_time, :start_date, :end_date
:image_url, :thumb_image_url, :image, :image_filename, :slug, :start_time, :end_time, :start_date, :end_date,
:status
has_many :labels, embed: :ids, key: :labels, embed_in_root: true, each_serializer: LabelSerializer
has_many :users, embed: :ids, key: :users, embed_in_root: true, each_serializer: DjSerializer

Expand Down

0 comments on commit 334f05e

Please sign in to comment.