diff --git a/src/endpoints/tv-seasons.ts b/src/endpoints/tv-seasons.ts index 68eb7c1..8f854a0 100644 --- a/src/endpoints/tv-seasons.ts +++ b/src/endpoints/tv-seasons.ts @@ -12,6 +12,7 @@ import { Videos, AppendToResponseTvSeasonKey, AppendToResponse, + AggregateCredits, } from '..'; import { BaseEndpoint } from './base'; @@ -45,8 +46,8 @@ export class TvSeasonsEndpoint extends BaseEndpoint { async aggregateCredits( seasonSelection: SeasonSelection, options?: LanguageOption - ) { - return await this.api.get( + ): Promise { + return await this.api.get( `${BASE_SEASON(seasonSelection)}/aggregate_credits`, options );