Integrated review endpoint with main TMDB class
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
|||||||
ConfigurationEndpoint,
|
ConfigurationEndpoint,
|
||||||
DiscoverEndpoint,
|
DiscoverEndpoint,
|
||||||
PeopleEndpoint,
|
PeopleEndpoint,
|
||||||
|
ReviewEndpoint,
|
||||||
} from './endpoints';
|
} from './endpoints';
|
||||||
|
|
||||||
export default class TMDB {
|
export default class TMDB {
|
||||||
@@ -62,4 +63,8 @@ export default class TMDB {
|
|||||||
get people(): PeopleEndpoint{
|
get people(): PeopleEndpoint{
|
||||||
return new PeopleEndpoint(this.accessToken);
|
return new PeopleEndpoint(this.accessToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get review(): ReviewEndpoint{
|
||||||
|
return new ReviewEndpoint(this.accessToken);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user