From cad7f46bb12e5e13afd0e727437ff7f7dff7913d Mon Sep 17 00:00:00 2001 From: cloud <62519659+lem6ns@users.noreply.github.com> Date: Mon, 5 Dec 2022 07:51:08 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=8C=20IMPROVE:=20Syntax=20for=20lint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/providers/list/superstream/index.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/providers/list/superstream/index.ts b/src/providers/list/superstream/index.ts index ee369853..f36a6744 100644 --- a/src/providers/list/superstream/index.ts +++ b/src/providers/list/superstream/index.ts @@ -102,7 +102,7 @@ export const superStreamScraper: MWMediaProvider = { media: MWPortableMedia, ): Promise { let apiQuery: any; - if (media.mediaType == MWMediaType.MOVIE) { + if (media.mediaType === MWMediaType.MOVIE) { apiQuery = { module: "TV_detail_1", display_all: "1", @@ -153,7 +153,8 @@ export const superStreamScraper: MWMediaProvider = { if (query.type === MWMediaType.MOVIE) { return movieResults; - } else if (query.type === MWMediaType.SERIES) { + } + if (query.type === MWMediaType.SERIES) { return seriesResults; } return [];