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) {