From 16db522215a0d0543981a5dee812273cc90da5b2 Mon Sep 17 00:00:00 2001 From: DerPenz Date: Sun, 19 Feb 2023 17:35:00 +0100 Subject: [PATCH] Integrated people endpoint with main TMDB class --- src/tmdb.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tmdb.ts b/src/tmdb.ts index 8e5283a..91bc4ec 100644 --- a/src/tmdb.ts +++ b/src/tmdb.ts @@ -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); + } }