File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ export class SubtitlesService {
52
52
53
53
this . logger . log ( `[${ download . _id } ]: Search for subtitles` )
54
54
55
- const filename = torrent . name
56
55
const location = resolve (
57
56
this . configService . get ( ConfigService . DOWNLOAD_LOCATION ) ,
58
57
download . _id
@@ -75,8 +74,8 @@ export class SubtitlesService {
75
74
sublanguageid : 'all' ,
76
75
filesize : torrent . length ,
77
76
path : resolve ( location , torrent . path ) ,
77
+ filename : torrent . name ,
78
78
imdbid,
79
- filename,
80
79
season,
81
80
episode,
82
81
Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ export class ShowsResolver {
22
22
private readonly configService : ConfigService
23
23
) {
24
24
this . trakt = new Trakt ( {
25
+ // eslint-disable-next-line @typescript-eslint/camelcase
25
26
client_id : this . configService . get ( ConfigService . TRAKT_KEY )
26
27
} )
27
-
28
28
}
29
29
30
30
/**
You can’t perform that action at this time.
0 commit comments