chore: restore old changes

This commit is contained in:
0xsysr3ll
2026-04-25 09:38:16 +02:00
parent 47e7f1ced1
commit cb80ebbf47
2 changed files with 2 additions and 3 deletions

View File

@@ -188,9 +188,7 @@ function formatComment(candidates) {
'',
'A maintainer will review this. If this is **not** a duplicate, no action is needed.',
'',
`<!-- duplicate-bot: candidates=${candidates
.map((c) => c.number)
.join(',')} -->`
`<!-- duplicate-bot: candidates=${candidates.map((c) => c.number).join(',')} -->`
);
return lines.join('\n');

View File

@@ -82,6 +82,7 @@ tvRoutes.get('/:id/season/:seasonNumber', async (req, res, next) => {
const season = await metadataProvider.getTvSeason({
tvId: Number(req.params.id),
seasonNumber: Number(req.params.seasonNumber),
language: (req.query.language as string) ?? req.locale,
});
const availableMap: Record<number, boolean> = {};