update publish script

This commit is contained in:
Blake Joynes
2024-06-09 16:54:18 -04:00
parent 8df7fe2f2a
commit 1bf4063121
6 changed files with 18 additions and 94 deletions

View File

@@ -10,11 +10,11 @@ import {
PersonDetails,
PersonMovieCredit,
PersonTvShowCredit,
PopularPersons,
TaggedImages,
Changes,
PersonChangeValue,
LanguageOption,
PopularPeople,
} from '../types';
import { BaseEndpoint } from './base';
@@ -110,12 +110,7 @@ export class PeopleEndpoint extends BaseEndpoint {
return await this.api.get<PersonDetails>(`${BASE_PERSON}/latest`);
}
async popular(
options?: LanguageOption & PageOption
): Promise<PopularPersons> {
return await this.api.get<PopularPersons>(
`${BASE_PERSON}/popular`,
options
);
async popular(options?: LanguageOption & PageOption): Promise<PopularPeople> {
return await this.api.get<PopularPeople>(`${BASE_PERSON}/popular`, options);
}
}