Integrated people endpoint with main TMDB class

This commit is contained in:
DerPenz
2023-02-19 17:35:00 +01:00
parent d29afab89f
commit 16db522215

View File

@@ -8,6 +8,7 @@ import {
SearchEndpoint,
TvShowsEndpoint,
ConfigurationEndpoint,
PeopleEndpoint,
} from './endpoints';
export default class TMDB {
@@ -52,4 +53,8 @@ export default class TMDB {
get tvShows(): TvShowsEndpoint{
return new TvShowsEndpoint(this.accessToken);
}
get people(): PeopleEndpoint{
return new PeopleEndpoint(this.accessToken);
}
}