Ken 2 hari lalu
induk
melakukan
ee1b48a843
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app/Http/Controllers/api/NewPc.php

+ 1 - 1
app/Http/Controllers/api/NewPc.php

@@ -32,7 +32,7 @@ class NewPc extends BaseController
         $data = PcIssue::where('status', PcIssue::STATUS_DRAW)
             ->forPage($page, $limit)
             ->orderByDesc('issue_no')
-            ->get();
+            ->get()->toArray();
 
 
         foreach ($data as &$item) {