1
0
Эх сурвалжийг харах

Update media:optimize command

Daniel Supernault 5 жил өмнө
parent
commit
9524ea19f5

+ 1 - 0
app/Console/Commands/CatchUnoptimizedMedia.php

@@ -42,6 +42,7 @@ class CatchUnoptimizedMedia extends Command
     {
         DB::transaction(function() {
             Media::whereNull('processed_at')
+                ->whereNull('remote_url')
                 ->whereNotNull('status_id')
                 ->whereNotNull('media_path')
                 ->whereIn('mime', [