Skip to content

Commit

Permalink
fix(command): whereNotNull for Subtype images
Browse files Browse the repository at this point in the history
  • Loading branch information
SpeedyD authored Dec 15, 2024
1 parent 9290ecc commit 717d59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/FixImageHashes.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function handle() {
$images = $images->concat(Rarity::where('has_image', 1)->whereNotNull('hash')->get());
$images = $images->concat(Shop::where('has_image', 1)->whereNotNull('hash')->get());
$images = $images->concat(Species::where('has_image', 1)->whereNotNull('hash')->get());
$images = $images->concat(Subtype::where('has_image', 1)->whereNull('hash')->get());
$images = $images->concat(Subtype::where('has_image', 1)->whereNotNull('hash')->get());

if ($images->count()) {
$this->line('Updating images...');
Expand Down

0 comments on commit 717d59c

Please sign in to comment.