fix: server charts

This commit is contained in:
tokumeikoi 2021-01-26 22:22:47 +09:00
parent fcafb65ce9
commit bc9b3b6e76
2 changed files with 2 additions and 1 deletions

View File

@ -103,6 +103,7 @@ class StatController extends Controller
->where('record_at', '>=', $timestamp) ->where('record_at', '>=', $timestamp)
->where('record_type', 'd') ->where('record_type', 'd')
->limit(10) ->limit(10)
->orderBy('record_at', 'DESC')
->get() ->get()
->toArray(); ->toArray();
foreach ($statistics as $k => $v) { foreach ($statistics as $k => $v) {

File diff suppressed because one or more lines are too long