updated getTraktMovie call in getTraktEpisodeAndMovie to include ID
This commit is contained in:
parent
2a3bb8301c
commit
a3e9a15953
1 changed files with 1 additions and 1 deletions
2
utils.js
2
utils.js
|
|
@ -186,7 +186,7 @@ export async function getTraktMovie(username, id, showImage = true) {
|
||||||
|
|
||||||
export async function getTraktEpisodeAndMovie(username, id, showImage = true) {
|
export async function getTraktEpisodeAndMovie(username, id, showImage = true) {
|
||||||
const episode = await getTraktEpisode(username, id, showImage)
|
const episode = await getTraktEpisode(username, id, showImage)
|
||||||
const movie = await getTraktMovie(username, showImage)
|
const movie = await getTraktMovie(username, id, showImage)
|
||||||
return {
|
return {
|
||||||
text: `${episode.text} <br>and<br> ${movie.text}`,
|
text: `${episode.text} <br>and<br> ${movie.text}`,
|
||||||
url: `https://trakt.tv/users/${username}`,
|
url: `https://trakt.tv/users/${username}`,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue