diff --git a/src/components/moviesView/N2wCinemaCard.vue b/src/components/moviesView/N2wCinemaCard.vue index 5bffb75..7d97ceb 100644 --- a/src/components/moviesView/N2wCinemaCard.vue +++ b/src/components/moviesView/N2wCinemaCard.vue @@ -61,8 +61,8 @@ export default { methods: { goToMovie() { let route = 'http://127.0.0.1:5000/movies/' + this.id; - if (this.user.userId) { - route += '/' + this.user.userId; + if (this.user.user_id) { + route += '/' + this.user.user_id; } console.debug(route); const previousThis = this;