Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovler-Young committed Jun 30, 2024
1 parent 690e213 commit bd154f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/server/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ const handle_source = async (ctx: Context, source_type: string, source_id: strin
let messageText = lastMessageText +
`${remainingBvids.length > 0 ?
`Archiving: ${remainingBvids.length}\n` +
`Bibli links: ${remainingBvids.length <= 5 ?
`Bili links: ${remainingBvids.length <= 5 ?
`${remainingBvids.map(bvid => new Bvid(bvid).toMarkdownBilibiliLink()).join(', ')}\n` :
`${remainingBvids.slice(0, 5).map(bvid => new Bvid(bvid).toMarkdownBilibiliLink()).join(', ')} and ${remainingBvids.length - 5} more \n`}`
: ''}` +
Expand Down

0 comments on commit bd154f4

Please sign in to comment.