Skip to content

Commit c5d7d8c

Browse files
committed
fix(api): Fixed subtitles supported languages not being converted to array
1 parent b8b1753 commit c5d7d8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/api/src/shared/subtitles/subtitles.service.ts

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export class SubtitlesService {
2727
const username = this.configService.get(ConfigService.OPENSUBTITLES_USERNAME)
2828
const password = this.configService.get(ConfigService.OPENSUBTITLES_PASSWORD)
2929
this.supportedLanguages = this.configService.get(ConfigService.SUBTITLES_LANGUAGES)
30+
.split(',')
3031

3132
if (username && password) {
3233
this.client = new OpenSubtitles({

0 commit comments

Comments
 (0)