Clarity fixes

This commit is contained in:
teddyHV11
2024-04-11 03:57:42 +03:00
parent 5d6b93385e
commit 6b038a288c
2 changed files with 1 additions and 7 deletions

View File

@@ -5,8 +5,7 @@ import { removeDuplicatedLanguages } from "@/providers/captions";
export async function getCaptions(data: Subtitle[]) {
let captions: Caption[] = [];
let subtitle: Subtitle;
for (subtitle of data) {
for (const subtitle of data) {
let language = '';
if (subtitle.name.includes('Рус')) {

View File

@@ -46,11 +46,6 @@ export const insertunitScraper = makeSourcerer({
captions = await getCaptions(currentEpisode.cc)
}
ctx.progress(80);
if (currentEpisode.cc != null) {
}
ctx.progress(95);
return {