Przeglądaj źródła

content type 写死 'translation'

visuddhinanda 2 lat temu
rodzic
commit
19e36fbc29
1 zmienionych plików z 2 dodań i 2 usunięć
  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'
                                     );
                     }