changed a model around

This commit is contained in:
2020-04-26 05:44:15 -05:00
parent b2de6fa5cd
commit 468cfd8810
8 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ use App\Library\Esi\Esi;
use Seat\Eseye\Exceptions\RequestFailedException;
//Models
use App\Models\Moon\Moon;
use App\Models\Moon\RentalMoon;
use App\Models\MoonRent\MoonRental;
use App\Models\Jobs\JobSendEveMail;
use App\Models\Mail\SentMail;
@@ -174,7 +174,7 @@ class MoonMailerCommand extends Command
$today->hour = 0;
foreach($rentals as $rental) {
$moon = Moon::where([
$moon = RentalMoon::where([
'System' => $rental->System,
'Planet' => $rental->Planet,
'Moon' => $rental->Moon,