Explorar el Código

'summary'=> $title.'#'.$id,

visuddhinanda hace 2 años
padre
commit
4eea06b346
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Console/Commands/ImportArticle.php

+ 1 - 1
app/Console/Commands/ImportArticle.php

@@ -119,7 +119,7 @@ class ImportArticle extends Command
                 $response = Http::withToken($token)->put($url.'/'.$articleId,
                                     [
                                         'title'=> $realTitle,
-                                        'subtitle'=> $realTitle,
+                                        'summary'=> $title.'#'.$id,
                                         'lang'=> 'my',
                                         'content'=> $contentCombine,
                                         'anthology_id'=>$anthologyId,