Skip to content

Commit

Permalink
fix(feed): Fixed increment column to feeds_count
Browse files Browse the repository at this point in the history
  • Loading branch information
medz committed Jul 24, 2018
1 parent 3dcc4ef commit 0e05bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/slimkit-plus-feed/src/API2/FeedController.php
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ private function linkFeedToTopics(array $topics, FeedModel $feed): void

$feed->topics()->sync($topics);
$query = (new FeedTopicModel)->query();
$query->whereIn('id', $topics)->increment('followers_count', 1);
$query->whereIn('id', $topics)->increment('feeds_count', 1);
}

/**
Expand Down

0 comments on commit 0e05bd0

Please sign in to comment.