Need to also add in companies getter
This commit is contained in:
@@ -18,6 +18,7 @@ import {
|
||||
TvSeasonsEndpoint,
|
||||
TvEpisodesEndpoint,
|
||||
} from './endpoints';
|
||||
import { CompaniesEndpoint } from './endpoints/companies';
|
||||
|
||||
export class TMDB {
|
||||
private readonly accessToken: string;
|
||||
@@ -46,6 +47,10 @@ export class TMDB {
|
||||
return new CreditsEndpoint(this.accessToken);
|
||||
}
|
||||
|
||||
get companies(): CompaniesEndpoint {
|
||||
return new CompaniesEndpoint(this.accessToken);
|
||||
}
|
||||
|
||||
get search(): SearchEndpoint {
|
||||
return new SearchEndpoint(this.accessToken);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user