소스 검색

content type 写死 'translation'

visuddhinanda 2 년 전
부모
커밋
19e36fbc29
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app/Http/Api/TemplateRender.php

+ 2 - 2
app/Http/Api/TemplateRender.php

@@ -502,7 +502,7 @@ class TemplateRender{
                                     null,
                                     'read',
                                     $value['channel']['type'],
-                                    $value['contentType'],
+                                    'translation',
                                     'text'
                                     );
                     }
@@ -517,7 +517,7 @@ class TemplateRender{
                                     null,
                                     'read',
                                     $value['channel']['type'],
-                                    $value['contentType'],
+                                    'translation',
                                     'tex'
                                     );
                     }