applying format

This commit is contained in:
Benjamin Lei
2023-08-30 17:58:37 -07:00
parent caae3009d5
commit f605edf354
10 changed files with 35 additions and 19 deletions

View File

@@ -58,8 +58,14 @@ export class MoviesEndpoint extends BaseEndpoint {
);
}
async changes(id: number, options?: ChangeOption): Promise<Changes<MovieChangeValue>> {
return await this.api.get<Changes<MovieChangeValue>>(`${BASE_MOVIE}/${id}/changes`, options);
async changes(
id: number,
options?: ChangeOption
): Promise<Changes<MovieChangeValue>> {
return await this.api.get<Changes<MovieChangeValue>>(
`${BASE_MOVIE}/${id}/changes`,
options
);
}
async credits(id: number): Promise<Credits> {