parent
commit
42b6b2d946
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      app/Http/Controllers/Api/NewsController.php

+ 1
- 3
app/Http/Controllers/Api/NewsController.php View File

95
                 "meta_description" => $news->getTranslation("meta_description", $locate, false),
95
                 "meta_description" => $news->getTranslation("meta_description", $locate, false),
96
                 "imgPC" => $news->news_meta_img,
96
                 "imgPC" => $news->news_meta_img,
97
             ],
97
             ],
98
-            "yearList" =>[
99
-                $yearList
100
-            ],
98
+            "yearList" => $yearList,
101
             "top" => [
99
             "top" => [
102
                 "id" => $news->id,
100
                 "id" => $news->id,
103
                 "categoryId" => $news->newsCategory->id,
101
                 "categoryId" => $news->newsCategory->id,