fixed linting

This commit is contained in:
Blake Joynes
2021-05-31 23:20:12 -04:00
parent 2909658be9
commit 290bcd3958
2 changed files with 2 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
import querystring, { ParsedUrlQueryInput } from 'querystring';
import querystring from 'querystring';
import { BaseEndpoint } from './base';
import { ChangeOptions, Changes } from '../types/changes';

View File

@@ -80,8 +80,7 @@ export class TvShowsEndpoint extends BaseEndpoint{
return await this.api.get<Reviews>(`${BASE_TV}/${id}/reviews?${params}`);
}
async screenedTheatrically(id: number, options?: {page?: number}): Promise<ScreenedTheatrically>{
const params = querystring.encode(options);
async screenedTheatrically(id: number): Promise<ScreenedTheatrically>{
return await this.api.get<ScreenedTheatrically>(`${BASE_TV}/${id}/screened_theatrically`);
}