mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-25 19:01:52 +01:00
👌 IMPROVE: Syntax for lint
This commit is contained in:
parent
a442baa5e0
commit
cad7f46bb1
@ -102,7 +102,7 @@ export const superStreamScraper: MWMediaProvider = {
|
|||||||
media: MWPortableMedia,
|
media: MWPortableMedia,
|
||||||
): Promise<MWProviderMediaResult> {
|
): Promise<MWProviderMediaResult> {
|
||||||
let apiQuery: any;
|
let apiQuery: any;
|
||||||
if (media.mediaType == MWMediaType.MOVIE) {
|
if (media.mediaType === MWMediaType.MOVIE) {
|
||||||
apiQuery = {
|
apiQuery = {
|
||||||
module: "TV_detail_1",
|
module: "TV_detail_1",
|
||||||
display_all: "1",
|
display_all: "1",
|
||||||
@ -153,7 +153,8 @@ export const superStreamScraper: MWMediaProvider = {
|
|||||||
|
|
||||||
if (query.type === MWMediaType.MOVIE) {
|
if (query.type === MWMediaType.MOVIE) {
|
||||||
return movieResults;
|
return movieResults;
|
||||||
} else if (query.type === MWMediaType.SERIES) {
|
}
|
||||||
|
if (query.type === MWMediaType.SERIES) {
|
||||||
return seriesResults;
|
return seriesResults;
|
||||||
}
|
}
|
||||||
return [];
|
return [];
|
||||||
|
Loading…
Reference in New Issue
Block a user