@@ -47,7 +47,7 @@ pub fn list_ing(
4747 match style {
4848 Style :: Colorful => colorful:: ing:: list_ing ( time_style, ing_with_comment_iter, align) ,
4949 Style :: Normal => normal:: ing:: list_ing ( time_style, ing_with_comment_iter, align) ,
50- Style :: Json => json:: ing:: list_ing ( ing_with_comment_iter) ,
50+ Style :: Json => json:: ing:: list_ing ( ing_with_comment_iter) . into_ok ( ) ,
5151 }
5252}
5353
@@ -106,7 +106,7 @@ pub fn show_post_comment(
106106 match style {
107107 Style :: Colorful => colorful:: post:: show_post_comment ( time_style, comment_iter) ,
108108 Style :: Normal => normal:: post:: show_post_comment ( time_style, comment_iter) ,
109- Style :: Json => json:: post:: show_post_comment ( comment_iter) ,
109+ Style :: Json => json:: post:: show_post_comment ( comment_iter) . into_ok ( ) ,
110110 }
111111}
112112
@@ -153,7 +153,7 @@ pub fn list_news(
153153 match style {
154154 Style :: Colorful => colorful:: news:: list_news ( time_style, news_iter) ,
155155 Style :: Normal => normal:: news:: list_news ( time_style, news_iter) ,
156- Style :: Json => json:: news:: list_news ( news_iter) ,
156+ Style :: Json => json:: news:: list_news ( news_iter) . into_ok ( ) ,
157157 }
158158}
159159
@@ -165,6 +165,6 @@ pub fn list_fav(
165165 match style {
166166 Style :: Colorful => colorful:: fav:: list_fav ( time_style, fav_iter) ,
167167 Style :: Normal => normal:: fav:: list_fav ( time_style, fav_iter) ,
168- Style :: Json => json:: fav:: list_fav ( fav_iter) ,
168+ Style :: Json => json:: fav:: list_fav ( fav_iter) . into_ok ( ) ,
169169 }
170170}
0 commit comments