Compare commits

..

2 Commits

Author SHA1 Message Date
50f6b95192 Mail bundling and processing performance improvements
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 39s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m47s
Create Docker Image / Final Docker Image Manifest (push) Successful in 11s
2024-06-18 21:07:09 +09:30
665cc7720c Fix date for graph, problem introduced in 3f5668
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 40s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m48s
Create Docker Image / Final Docker Image Manifest (push) Successful in 12s
2024-06-18 20:13:12 +09:30
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ class DomainController extends Controller
/** /**
* Daily stats as shown on the about page * Daily stats as shown on the about page
* *
* @param Request $request * @param Domain $o
* @return Collection * @return Collection
*/ */
public function api_daily_stats(Request $request): Collection public function api_daily_stats(Request $request): Collection

View File

@ -338,7 +338,7 @@
'name'=>$key, 'name'=>$key,
'dashStyle'=>'ShortDot', 'dashStyle'=>'ShortDot',
'visible'=>$item->first()->show, 'visible'=>$item->first()->show,
'data'=>$item->map(function($item) { return ['x'=>\Carbon\Carbon::createFromFormat('Y-m-d',$item->date)->timestamp*1000,'y'=>$item->count]; }) 'data'=>$item->map(function($item) { return ['x'=>\Carbon\Carbon::createFromFormat('Y-m-d',$item->date)->timestamp,'y'=>$item->count]; })
]; }) ]; })
->values() !!} ->values() !!}
}); });