Skip to content

Commit

Permalink
不自动保存置顶帖
Browse files Browse the repository at this point in the history
  • Loading branch information
wxh06 committed Jun 28, 2023
1 parent 7a0264e commit 7e367c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/archive/src/lib/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ export default async function getDiscussionList(
const {
data: { result },
} = (await response.json()) as LegacyDiscussList;
return result.map((post) => post.PostID);
return result.filter((post) => post.Top < 8).map((post) => post.PostID);
}

0 comments on commit 7e367c0

Please sign in to comment.