Skip to content

Commit

Permalink
fix(tmdb): Fixed wrong id being used
Browse files Browse the repository at this point in the history
  • Loading branch information
TriPSs committed Oct 22, 2020
1 parent 262f8c1 commit 9deae8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/services/tmdb/src/tmdb.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class TmdbService {
let backdrop = null

try {
const images = await this.tmdb.get(`${type}/${item._id}/images`)
const images = await this.tmdb.get(`${type}/${item.tmdbId}/images`)

if (!item.images.poster.full) {
poster = images.posters.filter(
Expand Down

0 comments on commit 9deae8f

Please sign in to comment.