diff --git a/client/nt.webclient/vue3withtypescript/nt/src/apiService/MovieApiService.ts b/client/nt.webclient/vue3withtypescript/nt/src/apiService/MovieApiService.ts index 5080f742..0985fe95 100644 --- a/client/nt.webclient/vue3withtypescript/nt/src/apiService/MovieApiService.ts +++ b/client/nt.webclient/vue3withtypescript/nt/src/apiService/MovieApiService.ts @@ -50,6 +50,12 @@ class MovieApiService extends ApiServiceBase { cast { name } + crew { + key + value { + name + } + } } } `; @@ -67,7 +73,7 @@ class MovieApiService extends ApiServiceBase { public async GetMovieById(id: string): Promise { console.log('query recent movie'); const movieById: DocumentNode = gql` - query movieByIdQuery($id: String) { + query movieByIdQuery($id: String!) { movieById(id: $id) { id title diff --git a/client/nt.webclient/vue3withtypescript/nt/src/components/private/movie/MovieMiniCard.vue b/client/nt.webclient/vue3withtypescript/nt/src/components/private/movie/MovieMiniCard.vue index f985b03a..467b0d5a 100644 --- a/client/nt.webclient/vue3withtypescript/nt/src/components/private/movie/MovieMiniCard.vue +++ b/client/nt.webclient/vue3withtypescript/nt/src/components/private/movie/MovieMiniCard.vue @@ -1,13 +1,20 @@