From 3dadcd624bcbf7a027a6b1d86c1fb8b143ad0742 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sat, 16 Feb 2019 01:46:35 -0600 Subject: [PATCH] command for moon mailer --- app/Console/Commands/moonmailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/moonmailer.php b/app/Console/Commands/moonmailer.php index 53b32ea6e..ae8f63757 100644 --- a/app/Console/Commands/moonmailer.php +++ b/app/Console/Commands/moonmailer.php @@ -70,7 +70,7 @@ class MoonMailerCommand extends Command 'System' => $rental->System, 'Planet' => $rental->Planet, 'Moon' => $rental->Moon, - ]); + ])->first(); //Get the updated price for the moon $price = $moonCalc->SpatialMoonsOnlyGoo($moon->FirstOre, $moon->FirstQuantity, $moon->SecondOre, $moon->SecondQuantity, $moon->ThirdOre, $moon->ThirdQuantity, $moon->FourthOre, $moon->FourthQuantity);