From 290bcd3958b9eab2ffe2dec6fb809de6ae898ec9 Mon Sep 17 00:00:00 2001 From: Blake Joynes Date: Mon, 31 May 2021 23:20:12 -0400 Subject: [PATCH] fixed linting --- src/endpoints/changes.ts | 2 +- src/endpoints/tv-shows.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/endpoints/changes.ts b/src/endpoints/changes.ts index 0cdd6f6..4b74652 100644 --- a/src/endpoints/changes.ts +++ b/src/endpoints/changes.ts @@ -1,4 +1,4 @@ -import querystring, { ParsedUrlQueryInput } from 'querystring'; +import querystring from 'querystring'; import { BaseEndpoint } from './base'; import { ChangeOptions, Changes } from '../types/changes'; diff --git a/src/endpoints/tv-shows.ts b/src/endpoints/tv-shows.ts index 78654c0..c25bb85 100644 --- a/src/endpoints/tv-shows.ts +++ b/src/endpoints/tv-shows.ts @@ -80,8 +80,7 @@ export class TvShowsEndpoint extends BaseEndpoint{ return await this.api.get(`${BASE_TV}/${id}/reviews?${params}`); } - async screenedTheatrically(id: number, options?: {page?: number}): Promise{ - const params = querystring.encode(options); + async screenedTheatrically(id: number): Promise{ return await this.api.get(`${BASE_TV}/${id}/screened_theatrically`); }