moshaorui 1 день тому
батько
коміт
5e7730aeb3
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      app/Distributor/Repositories/SmmPostLog.php

+ 1 - 1
app/Distributor/Repositories/SmmPostLog.php

@@ -103,7 +103,7 @@ class SmmPostLog extends EloquentRepository
 
             $rows = $log->where('media_name', 'YouTube')
                 ->where('created_at', '>=', $startOfDay->format('Y-m-d H:i:s'))
-                ->count();
+                ->get();
 
             $count = 0;
             foreach ($rows as $row) {