duqinya пре 5 година
родитељ
комит
b8037c35d1
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/Repositories/BeanRepository.php

+ 1 - 1
app/Repositories/BeanRepository.php

@@ -66,7 +66,7 @@ class BeanRepository
             ->groupBy('related_content_id', 'content_author_id')->orderBy('count', 'desc')->limit(1)->get();
         $collent = $collent->toArray();
         foreach ($collent as $k=>$v){
-            $collent[$k]['type'] = 'collent';
+            $collent[$k]['type'] = 'collect';
         }
 
         //文章被喜欢最多用户