소스 검색

fix issue

부모
커밋
0014000faa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      app/Http/Controllers/Api/NewsController.php

+ 1
- 1
app/Http/Controllers/Api/NewsController.php 파일 보기

@@ -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(),