Explorar el Código

add createdAt

visuddhinanda hace 2 años
padre
commit
644acdb6c6
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/Http/Controllers/CorpusController.php

+ 1 - 0
app/Http/Controllers/CorpusController.php

@@ -585,6 +585,7 @@ class CorpusController extends Controller
                     $newSent['html'] = "";
                     $newSent["editor"]=UserApi::getByUuid($row->editor_uid);
                     $newSent['updateAt'] = $row->updated_at;
+                    $newSent['createdAt'] = $row->created_at;
                     if($mode !== "read"){
                         if(isset($row->acceptor_uid) && !empty($row->acceptor_uid)){
                             $newSent["acceptor"]=UserApi::getByUuid($row->acceptor_uid);