From 0669c84cbe96c45cfdf43c9e61911bafaa3fab9b Mon Sep 17 00:00:00 2001 From: Seven Du Date: Tue, 31 Jul 2018 16:22:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(feed):=20=E4=BF=AE=E5=A4=8D=E7=9B=B4?= =?UTF-8?q?=E6=8E=A5=E8=AE=BF=E9=97=AE=E4=BF=9D=E6=8A=A4=E6=88=90=E5=91=98?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/API2/Controllers/Feed/Topic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/API2/Controllers/Feed/Topic.php b/app/API2/Controllers/Feed/Topic.php index ffed79b3d..8de877ad9 100644 --- a/app/API2/Controllers/Feed/Topic.php +++ b/app/API2/Controllers/Feed/Topic.php @@ -274,7 +274,7 @@ public function show(FeedTopicModel $topic): JsonResponse { $topic->participants = $topic ->users() - ->newPivotQuery() + ->newPivotStatement() ->where('user_id', '!=', $topic->creator_user_id) ->orderBy(Model::UPDATED_AT, 'desc') ->limit(3)