discourse/app/serializers/user_notification_schedule_serializer.rb
Jan Cernik 33c68b28b6
DEV: Use serializers for user_notification_schedule and featured_topic (#27719)
Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com>
2024-07-05 00:00:24 -03:00

22 lines
597 B
Ruby

# frozen_string_literal: true
class UserNotificationScheduleSerializer < ApplicationSerializer
attributes :id,
:user_id,
:enabled,
:day_0_start_time,
:day_0_end_time,
:day_1_start_time,
:day_1_end_time,
:day_2_start_time,
:day_2_end_time,
:day_3_start_time,
:day_3_end_time,
:day_4_start_time,
:day_4_end_time,
:day_5_start_time,
:day_5_end_time,
:day_6_start_time,
:day_6_end_time
end