Browse Source

fix issue

parent
commit
0014000faa
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/Http/Controllers/Api/NewsController.php

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

@@ -192,7 +192,7 @@ class NewsController extends Controller
192 192
                     $photos = $paragraph->photos;
193 193
                     $images = [];
194 194
                     foreach($photos as $photo){
195
-                        $images[] = ["img_url" => $photo->img_url, "alt" => $photo->getTranslation("image_alt", $locate, false)];
195
+                        $images[] = ["img_url" => $photo->news_photo_img, "alt" => $photo->getTranslation("image_alt", $locate, false)];
196 196
                     }
197 197
                     $paragraphs[] = [
198 198
                         "type" => $paragraph->contentType(),