@@ -59,7 +59,7 @@ class ProductController extends Controller
{
$json = Product::paginate(20)->toJson();
- $json["status"] = 0;
+ $json->status = 0;
return $json;
}