From 7c9b0caded3d0be25d12cdf8d27f2b288be5ef98 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Tue, 25 May 2021 01:21:59 +0900 Subject: [PATCH] testing new mining tax --- app/Http/Controllers/Test/TestController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Test/TestController.php b/app/Http/Controllers/Test/TestController.php index 9ced0e580..73614d871 100644 --- a/app/Http/Controllers/Test/TestController.php +++ b/app/Http/Controllers/Test/TestController.php @@ -83,7 +83,7 @@ class TestController extends Controller //Pluck all the users from the database of ledgers to determine if they are mains or alts. $mains = Ledger::where([ 'invoiced' => 'Yes', - ])->where('last_updated', '>', Carbon::now()->subMonths(3))->pluck(['character_id'])->get('character_id'); + ])->where('last_updated', '>', Carbon::now()->subMonths(3))->pluck('character_id')->toArray(); dd($mains);