Procházet zdrojové kódy

content type 写死 'translation'

visuddhinanda před 2 roky
rodič
revize
19e36fbc29
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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'
                                     );
                     }