Explorar o código

$newRow->content_type = "json";

visuddhinanda %!s(int64=2) %!d(string=hai) anos
pai
achega
dc20afabac
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/Console/Commands/UpgradeWbwTemplate.php

+ 1 - 0
app/Console/Commands/UpgradeWbwTemplate.php

@@ -109,6 +109,7 @@ class UpgradeWbwTemplate extends Command
 				);
             $newRow->editor_uid = config("app.admin.root_uuid");
             $newRow->content = trim($sent);
+            $newRow->content_type = "json";
             $newRow->strlen = mb_strlen($sent,"UTF-8");
             $newRow->status = 10;
             $newRow->create_time = time()*1000;