fix: stat charts

This commit is contained in:
tokumeikoi 2021-01-26 19:33:11 +09:00
parent 627ff98882
commit 34be1b9579

View File

@ -54,7 +54,7 @@ class StatController extends Controller
{
$statistics = StatOrder::where('record_type', 'd')
->limit(31)
->orderBy('record_at', 'ASC')
->orderBy('record_at', 'DESC')
->get()
->toArray();
$result = [];