fixing season aggregate credit type
This commit is contained in:
@@ -12,6 +12,7 @@ import {
|
|||||||
Videos,
|
Videos,
|
||||||
AppendToResponseTvSeasonKey,
|
AppendToResponseTvSeasonKey,
|
||||||
AppendToResponse,
|
AppendToResponse,
|
||||||
|
AggregateCredits,
|
||||||
} from '..';
|
} from '..';
|
||||||
import { BaseEndpoint } from './base';
|
import { BaseEndpoint } from './base';
|
||||||
|
|
||||||
@@ -45,8 +46,8 @@ export class TvSeasonsEndpoint extends BaseEndpoint {
|
|||||||
async aggregateCredits(
|
async aggregateCredits(
|
||||||
seasonSelection: SeasonSelection,
|
seasonSelection: SeasonSelection,
|
||||||
options?: LanguageOption
|
options?: LanguageOption
|
||||||
) {
|
): Promise<AggregateCredits> {
|
||||||
return await this.api.get<Credits>(
|
return await this.api.get<AggregateCredits>(
|
||||||
`${BASE_SEASON(seasonSelection)}/aggregate_credits`,
|
`${BASE_SEASON(seasonSelection)}/aggregate_credits`,
|
||||||
options
|
options
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user