Skip to content

Commit

Permalink
fix(api): Fixed subtitles supported languages not being converted to …
Browse files Browse the repository at this point in the history
…array
  • Loading branch information
TriPSs committed Oct 12, 2020
1 parent b8b1753 commit c5d7d8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/api/src/shared/subtitles/subtitles.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export class SubtitlesService {
const username = this.configService.get(ConfigService.OPENSUBTITLES_USERNAME)
const password = this.configService.get(ConfigService.OPENSUBTITLES_PASSWORD)
this.supportedLanguages = this.configService.get(ConfigService.SUBTITLES_LANGUAGES)
.split(',')

if (username && password) {
this.client = new OpenSubtitles({
Expand Down

0 comments on commit c5d7d8c

Please sign in to comment.