diff --git a/services/webui/src/app/components/modals/MovieModal.vue b/services/webui/src/app/components/modals/MovieModal.vue index 0dfb52f..37c3816 100644 --- a/services/webui/src/app/components/modals/MovieModal.vue +++ b/services/webui/src/app/components/modals/MovieModal.vue @@ -164,7 +164,7 @@ export default defineComponent({ this.close(); return; } - this.movie = response.data; + this.movie = response.result; }, async request() { if (this.isRequesting || this.movie == null || this.movie.tmdbId == null) { @@ -177,8 +177,7 @@ export default defineComponent({ console.log("Failed to add movie: quota has been met"); return; } - console.log(response); - this.movie.ticketId = response.data.ticketId; + this.movie.ticketId = response.result.ticketId; } }, mounted() { diff --git a/services/webui/src/app/store/actions.ts b/services/webui/src/app/store/actions.ts index 3f74da1..b8fe847 100644 --- a/services/webui/src/app/store/actions.ts +++ b/services/webui/src/app/store/actions.ts @@ -162,12 +162,12 @@ export const actions: Actions