diff --git a/app/views/tidings/_tiding.json.jbuilder b/app/views/tidings/_tiding.json.jbuilder index 4a392edfd..c00670433 100644 --- a/app/views/tidings/_tiding.json.jbuilder +++ b/app/views/tidings/_tiding.json.jbuilder @@ -4,6 +4,7 @@ json.content tiding.content json.identifier tiding.identifier json.auth_type tiding.container_type == 'ApplyUserAuthentication' ? tiding.container.auth_type : nil +json.homework_type tiding.container_type == 'HomeworkCommon' ? tiding.container.homework_type : nil json.time tiding.how_long_time json.new_tiding tiding.unread?(@onclick_time)