Skip to content

Commit

Permalink
おすすめ数を変更
Browse files Browse the repository at this point in the history
  • Loading branch information
eatski committed Apr 6, 2024
1 parent 57d0e45 commit 3ef8525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/story/ranking/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ export const getStoriesRecommended = async (): Promise<StoryHead[]> => {
};
});
scoredStories.sort((a, b) => b.score - a.score);
return scoredStories.map((e) => e.story).slice(0, 5);
return scoredStories.map((e) => e.story).slice(0, 8);
};

0 comments on commit 3ef8525

Please sign in to comment.