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`); }