wzq 5 yıl önce
ebeveyn
işleme
2ace5c4cf6
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      app/Repositories/TopicRepository.php

+ 1 - 1
app/Repositories/TopicRepository.php

@@ -80,7 +80,7 @@ class TopicRepository {
                 }
             }
             DB::commit();
-            Redis::zadd('topic.name', $topicInfo->name, $topicInfo->id);
+            Redis::zadd('topic.name', $topicInfo->id, $topicInfo->name);
             return Response::create();
         }catch (QueryException $exception){
             DB::rollBack();